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/i386/Makefile.com
          +++ new/usr/src/lib/libc/i386/Makefile.com
↓ open down ↓ 101 lines elided ↑ open up ↑
 102  102          bzero.o                 \
 103  103          qsort.o                 \
 104  104          strtol.o                \
 105  105          strtoul.o               \
 106  106          strtoll.o               \
 107  107          strtoull.o
 108  108  
 109  109  DTRACEOBJS=                     \
 110  110          dtrace_data.o
 111  111  
      112 +SECFLAGSOBJS=                   \
      113 +        secflags.o
      114 +
 112  115  GENOBJS=                        \
 113  116          _div64.o                \
 114  117          _divdi3.o               \
 115  118          _getsp.o                \
 116  119          _mul64.o                \
 117  120          abs.o                   \
 118  121          alloca.o                \
 119  122          arc4random.o            \
 120  123          arc4random_uniform.o    \
 121  124          byteorder.o             \
↓ open down ↓ 136 lines elided ↑ open up ↑
 258  261          pause.o                 \
 259  262          pcsample.o              \
 260  263          pipe2.o                 \
 261  264          pollsys.o               \
 262  265          pread.o                 \
 263  266          preadv.o                \
 264  267          priocntlset.o           \
 265  268          processor_bind.o        \
 266  269          processor_info.o        \
 267  270          profil.o                \
      271 +        psecflagsset.o          \
 268  272          putmsg.o                \
 269  273          putpmsg.o               \
 270  274          pwrite.o                \
 271  275          pwritev.o               \
 272  276          read.o                  \
 273  277          readv.o                 \
 274  278          resolvepath.o           \
 275  279          seteguid.o              \
 276  280          setgid.o                \
 277  281          setgroups.o             \
↓ open down ↓ 241 lines elided ↑ open up ↑
 519  523          pipe.o                  \
 520  524          plock.o                 \
 521  525          poll.o                  \
 522  526          posix_fadvise.o         \
 523  527          posix_fallocate.o       \
 524  528          posix_madvise.o         \
 525  529          posix_memalign.o        \
 526  530          priocntl.o              \
 527  531          privlib.o               \
 528  532          priv_str_xlate.o        \
      533 +        psecflags.o             \
 529  534          psiginfo.o              \
 530  535          psignal.o               \
 531  536          pt.o                    \
 532  537          putpwent.o              \
 533  538          putspent.o              \
 534  539          raise.o                 \
 535  540          rand.o                  \
 536  541          random.o                \
 537  542          rctlops.o               \
 538  543          readdir.o               \
↓ open down ↓ 455 lines elided ↑ open up ↑
 994  999          $(PORTREGEX)            \
 995 1000          $(PORTREGEX64)          \
 996 1001          $(PORTSTDIO)            \
 997 1002          $(PORTSTDIO64)          \
 998 1003          $(PORTSTDIO_C89)        \
 999 1004          $(PORTSTDIO_W)          \
1000 1005          $(PORTSYS)              \
1001 1006          $(PORTSYS64)            \
1002 1007          $(AIOOBJS)              \
1003 1008          $(RTOBJS)               \
     1009 +        $(SECFLAGSOBJS)         \
1004 1010          $(TPOOLOBJS)            \
1005 1011          $(THREADSOBJS)          \
1006 1012          $(THREADSMACHOBJS)      \
1007 1013          $(THREADSASMOBJS)       \
1008 1014          $(UNICODEOBJS)          \
1009 1015          $(UNWINDMACHOBJS)       \
1010 1016          $(UNWINDASMOBJS)        \
1011 1017          $(COMSYSOBJS)           \
1012 1018          $(SYSOBJS)              \
1013 1019          $(COMSYSOBJS64)         \
↓ open down ↓ 129 lines elided ↑ open up ↑
1143 1149          $(PORTFP:%.o=$(LIBCDIR)/port/fp/%.c)                    \
1144 1150          $(PORTGEN:%.o=$(LIBCDIR)/port/gen/%.c)                  \
1145 1151          $(PORTI18N:%.o=$(LIBCDIR)/port/i18n/%.c)                \
1146 1152          $(PORTLOCALE:%.o=$(LIBCDIR)/port/locale/%.c)            \
1147 1153          $(PORTPRINT:%.o=$(LIBCDIR)/port/print/%.c)              \
1148 1154          $(PORTREGEX:%.o=$(LIBCDIR)/port/regex/%.c)              \
1149 1155          $(PORTSTDIO:%.o=$(LIBCDIR)/port/stdio/%.c)              \
1150 1156          $(PORTSYS:%.o=$(LIBCDIR)/port/sys/%.c)                  \
1151 1157          $(AIOOBJS:%.o=$(LIBCDIR)/port/aio/%.c)                  \
1152 1158          $(RTOBJS:%.o=$(LIBCDIR)/port/rt/%.c)                    \
     1159 +        $(SECFLAGSOBJS:%.o=$(SRC)/common/secflags/%.c)          \
1153 1160          $(TPOOLOBJS:%.o=$(LIBCDIR)/port/tpool/%.c)              \
1154 1161          $(THREADSOBJS:%.o=$(LIBCDIR)/port/threads/%.c)          \
1155 1162          $(THREADSMACHOBJS:%.o=$(LIBCDIR)/$(MACH)/threads/%.c)   \
1156 1163          $(UNICODEOBJS:%.o=$(SRC)/common/unicode/%.c)    \
1157 1164          $(UNWINDMACHOBJS:%.o=$(LIBCDIR)/port/unwind/%.c)        \
1158 1165          $(FPOBJS:%.o=$(LIBCDIR)/$(MACH)/fp/%.c)                 \
1159 1166          $(LIBCBASE)/gen/ecvt.c                          \
1160 1167          $(LIBCBASE)/gen/makectxt.c                      \
1161 1168          $(LIBCBASE)/gen/siginfolst.c                    \
1162 1169          $(LIBCBASE)/gen/siglongjmp.c                    \
↓ open down ↓ 168 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX