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/sparcv9/Makefile.com
          +++ new/usr/src/lib/libc/sparcv9/Makefile.com
↓ open down ↓ 261 lines elided ↑ open up ↑
 262  262          pause.o                 \
 263  263          pcsample.o              \
 264  264          pipe2.o                 \
 265  265          pollsys.o               \
 266  266          pread.o                 \
 267  267          preadv.o                \
 268  268          priocntlset.o           \
 269  269          processor_bind.o        \
 270  270          processor_info.o        \
 271  271          profil.o                \
      272 +        psecflagsset.o          \
 272  273          putmsg.o                \
 273  274          putpmsg.o               \
 274  275          pwrite.o                \
 275  276          pwritev.o               \
 276  277          read.o                  \
 277  278          readv.o                 \
 278  279          resolvepath.o           \
 279  280          seteguid.o              \
 280  281          setgid.o                \
 281  282          setgroups.o             \
↓ open down ↓ 230 lines elided ↑ open up ↑
 512  513          pipe.o                  \
 513  514          plock.o                 \
 514  515          poll.o                  \
 515  516          posix_fadvise.o         \
 516  517          posix_fallocate.o       \
 517  518          posix_madvise.o         \
 518  519          posix_memalign.o        \
 519  520          priocntl.o              \
 520  521          privlib.o               \
 521  522          priv_str_xlate.o        \
      523 +        psecflags.o             \
 522  524          psiginfo.o              \
 523  525          psignal.o               \
 524  526          pt.o                    \
 525  527          putpwent.o              \
 526  528          putspent.o              \
 527  529          raise.o                 \
 528  530          rand.o                  \
 529  531          random.o                \
 530  532          rctlops.o               \
 531  533          readdir.o               \
↓ open down ↓ 291 lines elided ↑ open up ↑
 823  825  
 824  826  RTOBJS=                         \
 825  827          clock_timer.o           \
 826  828          mqueue.o                \
 827  829          pos4obj.o               \
 828  830          sched.o                 \
 829  831          sem.o                   \
 830  832          shm.o                   \
 831  833          sigev_thread.o
 832  834  
      835 +SECFLAGSOBJS=                   \
      836 +        secflags.o
      837 +
 833  838  TPOOLOBJS=                      \
 834  839          thread_pool.o
 835  840  
 836  841  THREADSOBJS=                    \
 837  842          alloc.o                 \
 838  843          assfail.o               \
 839  844          c11_thr.o               \
 840  845          cancel.o                \
 841  846          door_calls.o            \
 842  847          tmem.o                  \
↓ open down ↓ 127 lines elided ↑ open up ↑
 970  975          $(PORTPRINT)            \
 971  976          $(PORTPRINT_W)          \
 972  977          $(PORTREGEX)            \
 973  978          $(PORTSTDIO)            \
 974  979          $(PORTSTDIO64)          \
 975  980          $(PORTSTDIO_W)          \
 976  981          $(PORTSYS)              \
 977  982          $(PORTSYS64)            \
 978  983          $(AIOOBJS)              \
 979  984          $(RTOBJS)               \
      985 +        $(SECFLAGSOBJS)         \
 980  986          $(TPOOLOBJS)            \
 981  987          $(THREADSOBJS)          \
 982  988          $(THREADSMACHOBJS)      \
 983  989          $(THREADSASMOBJS)       \
 984  990          $(UNICODEOBJS)          \
 985  991          $(UNWINDMACHOBJS)       \
 986  992          $(UNWINDASMOBJS)        \
 987  993          $(COMSYSOBJS)           \
 988  994          $(SYSOBJS)              \
 989  995          $(COMSYSOBJS64)         \
↓ open down ↓ 112 lines elided ↑ open up ↑
1102 1108          $(PORTFP:%.o=$(LIBCDIR)/port/fp/%.c)                    \
1103 1109          $(PORTGEN:%.o=$(LIBCDIR)/port/gen/%.c)                  \
1104 1110          $(PORTI18N:%.o=$(LIBCDIR)/port/i18n/%.c)                \
1105 1111          $(PORTLOCALE:%.o=$(LIBCDIR)/port/locale/%.c)            \
1106 1112          $(PORTPRINT:%.o=$(LIBCDIR)/port/print/%.c)              \
1107 1113          $(PORTREGEX:%.o=$(LIBCDIR)/port/regex/%.c)              \
1108 1114          $(PORTSTDIO:%.o=$(LIBCDIR)/port/stdio/%.c)              \
1109 1115          $(PORTSYS:%.o=$(LIBCDIR)/port/sys/%.c)                  \
1110 1116          $(AIOOBJS:%.o=$(LIBCDIR)/port/aio/%.c)                  \
1111 1117          $(RTOBJS:%.o=$(LIBCDIR)/port/rt/%.c)                    \
     1118 +        $(SECFLAGSOBJS:%.o=$(SRC)/common/secflags/%.c)          \
1112 1119          $(TPOOLOBJS:%.o=$(LIBCDIR)/port/tpool/%.c)              \
1113 1120          $(THREADSOBJS:%.o=$(LIBCDIR)/port/threads/%.c)          \
1114 1121          $(THREADSMACHOBJS:%.o=$(LIBCDIR)/$(MACH)/threads/%.c)   \
1115 1122          $(UNICODEOBJS:%.o=$(SRC)/common/unicode/%.c)    \
1116 1123          $(UNWINDMACHOBJS:%.o=$(LIBCDIR)/port/unwind/%.c)        \
1117 1124          $(FPOBJS:%.o=$(LIBCDIR)/$(MACH)/fp/%.c)                 \
1118 1125          $(FPOBJS64:%.o=$(LIBCBASE)/fp/%.c)              \
1119 1126          $(LIBCBASE)/crt/_ftou.c                         \
1120 1127          $(LIBCBASE)/gen/_xregs_clrptr.c                 \
1121 1128          $(LIBCBASE)/gen/byteorder.c                     \
↓ open down ↓ 199 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX