Print this page
7029 want per-process exploit mitigation features (secflags)
7030 want basic address space layout randomization (aslr)
7031 noexec_user_stack should be a secflag
7032 want a means to forbid mappings around NULL.

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/amd64/Makefile
          +++ new/usr/src/lib/libc/amd64/Makefile
↓ open down ↓ 233 lines elided ↑ open up ↑
 234  234          pause.o                 \
 235  235          pcsample.o              \
 236  236          pipe2.o                 \
 237  237          pollsys.o               \
 238  238          pread.o                 \
 239  239          preadv.o                \
 240  240          priocntlset.o           \
 241  241          processor_bind.o        \
 242  242          processor_info.o        \
 243  243          profil.o                \
      244 +        psecflagsset.o          \
 244  245          putmsg.o                \
 245  246          putpmsg.o               \
 246  247          pwrite.o                \
 247  248          pwritev.o               \
 248  249          read.o                  \
 249  250          readv.o                 \
 250  251          resolvepath.o           \
 251  252          seteguid.o              \
 252  253          setgid.o                \
 253  254          setgroups.o             \
↓ open down ↓ 232 lines elided ↑ open up ↑
 486  487          pipe.o                  \
 487  488          plock.o                 \
 488  489          poll.o                  \
 489  490          posix_fadvise.o         \
 490  491          posix_fallocate.o       \
 491  492          posix_madvise.o         \
 492  493          posix_memalign.o        \
 493  494          priocntl.o              \
 494  495          privlib.o               \
 495  496          priv_str_xlate.o        \
      497 +        psecflags.o             \
 496  498          psiginfo.o              \
 497  499          psignal.o               \
 498  500          pt.o                    \
 499  501          putpwent.o              \
 500  502          putspent.o              \
 501  503          raise.o                 \
 502  504          rand.o                  \
 503  505          random.o                \
 504  506          rctlops.o               \
 505  507          readdir.o               \
↓ open down ↓ 293 lines elided ↑ open up ↑
 799  801  
 800  802  RTOBJS=                         \
 801  803          clock_timer.o           \
 802  804          mqueue.o                \
 803  805          pos4obj.o               \
 804  806          sched.o                 \
 805  807          sem.o                   \
 806  808          shm.o                   \
 807  809          sigev_thread.o
 808  810  
      811 +SECFLAGSOBJS=                   \
      812 +        secflags.o
      813 +
 809  814  TPOOLOBJS=                      \
 810  815          thread_pool.o
 811  816  
 812  817  THREADSOBJS=                    \
 813  818          alloc.o                 \
 814  819          assfail.o               \
 815  820          c11_thr.o               \
 816  821          cancel.o                \
 817  822          door_calls.o            \
 818  823          tmem.o                  \
↓ open down ↓ 132 lines elided ↑ open up ↑
 951  956          $(PORTPRINT)            \
 952  957          $(PORTPRINT_W)          \
 953  958          $(PORTREGEX)            \
 954  959          $(PORTSTDIO)            \
 955  960          $(PORTSTDIO64)          \
 956  961          $(PORTSTDIO_W)          \
 957  962          $(PORTSYS)              \
 958  963          $(PORTSYS64)            \
 959  964          $(AIOOBJS)              \
 960  965          $(RTOBJS)               \
      966 +        $(SECFLAGSOBJS)         \
 961  967          $(TPOOLOBJS)            \
 962  968          $(THREADSOBJS)          \
 963  969          $(THREADSMACHOBJS)      \
 964  970          $(THREADSASMOBJS)       \
 965  971          $(UNICODEOBJS)          \
 966  972          $(UNWINDMACHOBJS)       \
 967  973          $(UNWINDASMOBJS)        \
 968  974          $(COMSYSOBJS)           \
 969  975          $(SYSOBJS)              \
 970  976          $(COMSYSOBJS64)         \
↓ open down ↓ 108 lines elided ↑ open up ↑
1079 1085          $(PORTFP:%.o=$(LIBCDIR)/port/fp/%.c)                    \
1080 1086          $(PORTGEN:%.o=$(LIBCDIR)/port/gen/%.c)                  \
1081 1087          $(PORTI18N:%.o=$(LIBCDIR)/port/i18n/%.c)                \
1082 1088          $(PORTLOCALE:%.o=$(LIBCDIR)/port/locale/%.c)            \
1083 1089          $(PORTPRINT:%.o=$(LIBCDIR)/port/print/%.c)              \
1084 1090          $(PORTREGEX:%.o=$(LIBCDIR)/port/regex/%.c)              \
1085 1091          $(PORTSTDIO:%.o=$(LIBCDIR)/port/stdio/%.c)              \
1086 1092          $(PORTSYS:%.o=$(LIBCDIR)/port/sys/%.c)                  \
1087 1093          $(AIOOBJS:%.o=$(LIBCDIR)/port/aio/%.c)                  \
1088 1094          $(RTOBJS:%.o=$(LIBCDIR)/port/rt/%.c)                    \
     1095 +        $(SECFLAGSOBJS:%.o=$(SRC)/common/secflags/%.c)          \
1089 1096          $(TPOOLOBJS:%.o=$(LIBCDIR)/port/tpool/%.c)              \
1090 1097          $(THREADSOBJS:%.o=$(LIBCDIR)/port/threads/%.c)          \
1091 1098          $(THREADSMACHOBJS:%.o=threads/%.c)              \
1092 1099          $(UNICODEOBJS:%.o=$(SRC)/common/unicode/%.c)    \
1093 1100          $(UNWINDMACHOBJS:%.o=unwind/%.c)                \
1094 1101          $(FPOBJS:%.o=fp/%.c)                            \
1095 1102          $(I386FPOBJS:%.o=$(LIBCDIR)/i386/fp/%.c)                \
1096 1103          $(LIBCBASE)/gen/ecvt.c                          \
1097 1104          $(LIBCBASE)/gen/makectxt.c                      \
1098 1105          $(LIBCBASE)/gen/siginfolst.c                    \
↓ open down ↓ 151 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX