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/sparc/Makefile.com
          +++ new/usr/src/lib/libc/sparc/Makefile.com
↓ open down ↓ 128 lines elided ↑ open up ↑
 129  129          memccpy.o               \
 130  130          qsort.o                 \
 131  131          strtol.o                \
 132  132          strtoul.o               \
 133  133          strtoll.o               \
 134  134          strtoull.o
 135  135  
 136  136  DTRACEOBJS=                     \
 137  137          dtrace_data.o
 138  138  
      139 +SECFLAGSOBJS=                   \
      140 +        secflags.o
      141 +
 139  142  GENOBJS=                        \
 140  143          _getsp.o                \
 141  144          _xregs_clrptr.o         \
 142  145          abs.o                   \
 143  146          alloca.o                \
 144  147          arc4random.o            \
 145  148          arc4random_uniform.o    \
 146  149          ascii_strcasecmp.o      \
 147  150          byteorder.o             \
 148  151          cuexit.o                \
↓ open down ↓ 129 lines elided ↑ open up ↑
 278  281          pause.o                 \
 279  282          pcsample.o              \
 280  283          pipe2.o                 \
 281  284          pollsys.o               \
 282  285          pread.o                 \
 283  286          preadv.o                \
 284  287          priocntlset.o           \
 285  288          processor_bind.o        \
 286  289          processor_info.o        \
 287  290          profil.o                \
      291 +        psecflagsset.o          \
 288  292          putmsg.o                \
 289  293          putpmsg.o               \
 290  294          pwrite.o                \
 291  295          pwritev.o               \
 292  296          read.o                  \
 293  297          readv.o                 \
 294  298          resolvepath.o           \
 295  299          seteguid.o              \
 296  300          setgid.o                \
 297  301          setgroups.o             \
↓ open down ↓ 253 lines elided ↑ open up ↑
 551  555          pipe.o                  \
 552  556          plock.o                 \
 553  557          poll.o                  \
 554  558          posix_fadvise.o         \
 555  559          posix_fallocate.o       \
 556  560          posix_madvise.o         \
 557  561          posix_memalign.o        \
 558  562          priocntl.o              \
 559  563          privlib.o               \
 560  564          priv_str_xlate.o        \
      565 +        psecflags.o             \
 561  566          psiginfo.o              \
 562  567          psignal.o               \
 563  568          pt.o                    \
 564  569          putpwent.o              \
 565  570          putspent.o              \
 566  571          raise.o                 \
 567  572          rand.o                  \
 568  573          random.o                \
 569  574          rctlops.o               \
 570  575          readdir.o               \
↓ open down ↓ 460 lines elided ↑ open up ↑
1031 1036          $(PORTREGEX)            \
1032 1037          $(PORTREGEX64)          \
1033 1038          $(PORTSTDIO)            \
1034 1039          $(PORTSTDIO64)          \
1035 1040          $(PORTSTDIO_C89)        \
1036 1041          $(PORTSTDIO_W)          \
1037 1042          $(PORTSYS)              \
1038 1043          $(PORTSYS64)            \
1039 1044          $(AIOOBJS)              \
1040 1045          $(RTOBJS)               \
     1046 +        $(SECFLAGSOBJS)         \
1041 1047          $(TPOOLOBJS)            \
1042 1048          $(THREADSOBJS)          \
1043 1049          $(THREADSMACHOBJS)      \
1044 1050          $(THREADSASMOBJS)       \
1045 1051          $(UNICODEOBJS)          \
1046 1052          $(UNWINDMACHOBJS)       \
1047 1053          $(UNWINDASMOBJS)        \
1048 1054          $(COMSYSOBJS)           \
1049 1055          $(SYSOBJS)              \
1050 1056          $(COMSYSOBJS64)         \
↓ open down ↓ 122 lines elided ↑ open up ↑
1173 1179          $(PORTFP:%.o=$(LIBCDIR)/port/fp/%.c)                    \
1174 1180          $(PORTGEN:%.o=$(LIBCDIR)/port/gen/%.c)                  \
1175 1181          $(PORTI18N:%.o=$(LIBCDIR)/port/i18n/%.c)                \
1176 1182          $(PORTLOCALE:%.o=$(LIBCDIR)/port/locale/%.c)            \
1177 1183          $(PORTPRINT:%.o=$(LIBCDIR)/port/print/%.c)              \
1178 1184          $(PORTREGEX:%.o=$(LIBCDIR)/port/regex/%.c)              \
1179 1185          $(PORTSTDIO:%.o=$(LIBCDIR)/port/stdio/%.c)              \
1180 1186          $(PORTSYS:%.o=$(LIBCDIR)/port/sys/%.c)                  \
1181 1187          $(AIOOBJS:%.o=$(LIBCDIR)/port/aio/%.c)                  \
1182 1188          $(RTOBJS:%.o=$(LIBCDIR)/port/rt/%.c)                    \
     1189 +        $(SECFLAGSOBJS:%.o=$(SRC)/common/secflags/%.c)          \
1183 1190          $(TPOOLOBJS:%.o=$(LIBCDIR)/port/tpool/%.c)              \
1184 1191          $(THREADSOBJS:%.o=$(LIBCDIR)/port/threads/%.c)          \
1185 1192          $(THREADSMACHOBJS:%.o=$(LIBCDIR)/$(MACH)/threads/%.c)   \
1186 1193          $(UNICODEOBJS:%.o=$(SRC)/common/unicode/%.c)    \
1187 1194          $(UNWINDMACHOBJS:%.o=$(LIBCDIR)/port/unwind/%.c)        \
1188 1195          $(FPOBJS:%.o=$(LIBCDIR)/$(MACH)/fp/%.c)                 \
1189 1196          $(LIBCBASE)/crt/_ftou.c                         \
1190 1197          $(LIBCBASE)/gen/_xregs_clrptr.c                 \
1191 1198          $(LIBCBASE)/gen/byteorder.c                     \
1192 1199          $(LIBCBASE)/gen/ecvt.c                          \
↓ open down ↓ 217 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX