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.


 119         chacha.o
 120 
 121 XATTROBJS=                      \
 122         xattr_common.o
 123 
 124 COMOBJS=                        \
 125         bcmp.o                  \
 126         bcopy.o                 \
 127         bzero.o                 \
 128         bsearch.o               \
 129         memccpy.o               \
 130         qsort.o                 \
 131         strtol.o                \
 132         strtoul.o               \
 133         strtoll.o               \
 134         strtoull.o
 135 
 136 DTRACEOBJS=                     \
 137         dtrace_data.o
 138 



 139 GENOBJS=                        \
 140         _getsp.o                \
 141         _xregs_clrptr.o         \
 142         abs.o                   \
 143         alloca.o                \
 144         arc4random.o            \
 145         arc4random_uniform.o    \
 146         ascii_strcasecmp.o      \
 147         byteorder.o             \
 148         cuexit.o                \
 149         ecvt.o                  \
 150         endian.o                \
 151         errlst.o                \
 152         getctxt.o               \
 153         ladd.o                  \
 154         lmul.o                  \
 155         lock.o                  \
 156         lshiftl.o               \
 157         lsign.o                 \
 158         lsub.o                  \


 268         mmapobjsys.o            \
 269         modctl.o                \
 270         mount.o                 \
 271         mprotect.o              \
 272         munmap.o                \
 273         nice.o                  \
 274         ntp_adjtime.o           \
 275         ntp_gettime.o           \
 276         p_online.o              \
 277         pathconf.o              \
 278         pause.o                 \
 279         pcsample.o              \
 280         pipe2.o                 \
 281         pollsys.o               \
 282         pread.o                 \
 283         preadv.o                \
 284         priocntlset.o           \
 285         processor_bind.o        \
 286         processor_info.o        \
 287         profil.o                \

 288         putmsg.o                \
 289         putpmsg.o               \
 290         pwrite.o                \
 291         pwritev.o               \
 292         read.o                  \
 293         readv.o                 \
 294         resolvepath.o           \
 295         seteguid.o              \
 296         setgid.o                \
 297         setgroups.o             \
 298         setitimer.o             \
 299         setreid.o               \
 300         setrlimit.o             \
 301         setuid.o                \
 302         sigaltstk.o             \
 303         sigprocmsk.o            \
 304         sigsendset.o            \
 305         sigsuspend.o            \
 306         statfs.o                \
 307         statvfs.o               \


 541         nsparse.o               \
 542         nss_common.o            \
 543         nss_dbdefs.o            \
 544         nss_deffinder.o         \
 545         opendir.o               \
 546         opt_data.o              \
 547         perror.o                \
 548         pfmt.o                  \
 549         pfmt_data.o             \
 550         pfmt_print.o            \
 551         pipe.o                  \
 552         plock.o                 \
 553         poll.o                  \
 554         posix_fadvise.o         \
 555         posix_fallocate.o       \
 556         posix_madvise.o         \
 557         posix_memalign.o        \
 558         priocntl.o              \
 559         privlib.o               \
 560         priv_str_xlate.o        \

 561         psiginfo.o              \
 562         psignal.o               \
 563         pt.o                    \
 564         putpwent.o              \
 565         putspent.o              \
 566         raise.o                 \
 567         rand.o                  \
 568         random.o                \
 569         rctlops.o               \
 570         readdir.o               \
 571         readdir_r.o             \
 572         realpath.o              \
 573         reboot.o                \
 574         regexpr.o               \
 575         remove.o                \
 576         rewinddir.o             \
 577         rindex.o                \
 578         scandir.o               \
 579         seekdir.o               \
 580         select.o                \


1021         $(PRFOBJS)              \
1022         $(PORTFP)               \
1023         $(PORTGEN)              \
1024         $(PORTGEN64)            \
1025         $(PORTI18N)             \
1026         $(PORTI18N_COND)        \
1027         $(PORTLOCALE)           \
1028         $(PORTPRINT)            \
1029         $(PORTPRINT_C89)        \
1030         $(PORTPRINT_W)          \
1031         $(PORTREGEX)            \
1032         $(PORTREGEX64)          \
1033         $(PORTSTDIO)            \
1034         $(PORTSTDIO64)          \
1035         $(PORTSTDIO_C89)        \
1036         $(PORTSTDIO_W)          \
1037         $(PORTSYS)              \
1038         $(PORTSYS64)            \
1039         $(AIOOBJS)              \
1040         $(RTOBJS)               \

1041         $(TPOOLOBJS)            \
1042         $(THREADSOBJS)          \
1043         $(THREADSMACHOBJS)      \
1044         $(THREADSASMOBJS)       \
1045         $(UNICODEOBJS)          \
1046         $(UNWINDMACHOBJS)       \
1047         $(UNWINDASMOBJS)        \
1048         $(COMSYSOBJS)           \
1049         $(SYSOBJS)              \
1050         $(COMSYSOBJS64)         \
1051         $(SYSOBJS64)            \
1052         $(VALUES)
1053 
1054 TRACEOBJS=                      \
1055         plockstat.o
1056 
1057 # NOTE: libc.so.1 must be linked with the minimal crti.o and crtn.o
1058 # modules whose source is provided in the $(SRC)/lib/common directory.
1059 # This must be done because otherwise the Sun C compiler would insert
1060 # its own versions of these modules and those versions contain code


1163         $(ALTPICS)
1164 
1165 CLOBBERFILES += $(LIB_PIC)
1166 
1167 # list of C source for lint
1168 SRCS=                                                   \
1169         $(ATOMICOBJS:%.o=$(SRC)/common/atomic/%.c)      \
1170         $(XATTROBJS:%.o=$(SRC)/common/xattr/%.c)        \
1171         $(COMOBJS:%.o=$(SRC)/common/util/%.c)           \
1172         $(DTRACEOBJS:%.o=$(SRC)/common/dtrace/%.c)      \
1173         $(PORTFP:%.o=$(LIBCDIR)/port/fp/%.c)                    \
1174         $(PORTGEN:%.o=$(LIBCDIR)/port/gen/%.c)                  \
1175         $(PORTI18N:%.o=$(LIBCDIR)/port/i18n/%.c)                \
1176         $(PORTLOCALE:%.o=$(LIBCDIR)/port/locale/%.c)            \
1177         $(PORTPRINT:%.o=$(LIBCDIR)/port/print/%.c)              \
1178         $(PORTREGEX:%.o=$(LIBCDIR)/port/regex/%.c)              \
1179         $(PORTSTDIO:%.o=$(LIBCDIR)/port/stdio/%.c)              \
1180         $(PORTSYS:%.o=$(LIBCDIR)/port/sys/%.c)                  \
1181         $(AIOOBJS:%.o=$(LIBCDIR)/port/aio/%.c)                  \
1182         $(RTOBJS:%.o=$(LIBCDIR)/port/rt/%.c)                    \

1183         $(TPOOLOBJS:%.o=$(LIBCDIR)/port/tpool/%.c)              \
1184         $(THREADSOBJS:%.o=$(LIBCDIR)/port/threads/%.c)          \
1185         $(THREADSMACHOBJS:%.o=$(LIBCDIR)/$(MACH)/threads/%.c)   \
1186         $(UNICODEOBJS:%.o=$(SRC)/common/unicode/%.c)    \
1187         $(UNWINDMACHOBJS:%.o=$(LIBCDIR)/port/unwind/%.c)        \
1188         $(FPOBJS:%.o=$(LIBCDIR)/$(MACH)/fp/%.c)                 \
1189         $(LIBCBASE)/crt/_ftou.c                         \
1190         $(LIBCBASE)/gen/_xregs_clrptr.c                 \
1191         $(LIBCBASE)/gen/byteorder.c                     \
1192         $(LIBCBASE)/gen/ecvt.c                          \
1193         $(LIBCBASE)/gen/endian.c                        \
1194         $(LIBCBASE)/gen/getctxt.c                       \
1195         $(LIBCBASE)/gen/lmul.c                          \
1196         $(LIBCBASE)/gen/makectxt.c                      \
1197         $(LIBCBASE)/gen/siginfolst.c                    \
1198         $(LIBCBASE)/gen/siglongjmp.c                    \
1199         $(LIBCBASE)/gen/swapctxt.c                      \
1200         $(LIBCBASE)/sys/ptrace.c                        \
1201         $(LIBCBASE)/sys/uadmin.c
1202 




 119         chacha.o
 120 
 121 XATTROBJS=                      \
 122         xattr_common.o
 123 
 124 COMOBJS=                        \
 125         bcmp.o                  \
 126         bcopy.o                 \
 127         bzero.o                 \
 128         bsearch.o               \
 129         memccpy.o               \
 130         qsort.o                 \
 131         strtol.o                \
 132         strtoul.o               \
 133         strtoll.o               \
 134         strtoull.o
 135 
 136 DTRACEOBJS=                     \
 137         dtrace_data.o
 138 
 139 SECFLAGSOBJS=                   \
 140         secflags.o
 141 
 142 GENOBJS=                        \
 143         _getsp.o                \
 144         _xregs_clrptr.o         \
 145         abs.o                   \
 146         alloca.o                \
 147         arc4random.o            \
 148         arc4random_uniform.o    \
 149         ascii_strcasecmp.o      \
 150         byteorder.o             \
 151         cuexit.o                \
 152         ecvt.o                  \
 153         endian.o                \
 154         errlst.o                \
 155         getctxt.o               \
 156         ladd.o                  \
 157         lmul.o                  \
 158         lock.o                  \
 159         lshiftl.o               \
 160         lsign.o                 \
 161         lsub.o                  \


 271         mmapobjsys.o            \
 272         modctl.o                \
 273         mount.o                 \
 274         mprotect.o              \
 275         munmap.o                \
 276         nice.o                  \
 277         ntp_adjtime.o           \
 278         ntp_gettime.o           \
 279         p_online.o              \
 280         pathconf.o              \
 281         pause.o                 \
 282         pcsample.o              \
 283         pipe2.o                 \
 284         pollsys.o               \
 285         pread.o                 \
 286         preadv.o                \
 287         priocntlset.o           \
 288         processor_bind.o        \
 289         processor_info.o        \
 290         profil.o                \
 291         psecflagsset.o          \
 292         putmsg.o                \
 293         putpmsg.o               \
 294         pwrite.o                \
 295         pwritev.o               \
 296         read.o                  \
 297         readv.o                 \
 298         resolvepath.o           \
 299         seteguid.o              \
 300         setgid.o                \
 301         setgroups.o             \
 302         setitimer.o             \
 303         setreid.o               \
 304         setrlimit.o             \
 305         setuid.o                \
 306         sigaltstk.o             \
 307         sigprocmsk.o            \
 308         sigsendset.o            \
 309         sigsuspend.o            \
 310         statfs.o                \
 311         statvfs.o               \


 545         nsparse.o               \
 546         nss_common.o            \
 547         nss_dbdefs.o            \
 548         nss_deffinder.o         \
 549         opendir.o               \
 550         opt_data.o              \
 551         perror.o                \
 552         pfmt.o                  \
 553         pfmt_data.o             \
 554         pfmt_print.o            \
 555         pipe.o                  \
 556         plock.o                 \
 557         poll.o                  \
 558         posix_fadvise.o         \
 559         posix_fallocate.o       \
 560         posix_madvise.o         \
 561         posix_memalign.o        \
 562         priocntl.o              \
 563         privlib.o               \
 564         priv_str_xlate.o        \
 565         psecflags.o             \
 566         psiginfo.o              \
 567         psignal.o               \
 568         pt.o                    \
 569         putpwent.o              \
 570         putspent.o              \
 571         raise.o                 \
 572         rand.o                  \
 573         random.o                \
 574         rctlops.o               \
 575         readdir.o               \
 576         readdir_r.o             \
 577         realpath.o              \
 578         reboot.o                \
 579         regexpr.o               \
 580         remove.o                \
 581         rewinddir.o             \
 582         rindex.o                \
 583         scandir.o               \
 584         seekdir.o               \
 585         select.o                \


1026         $(PRFOBJS)              \
1027         $(PORTFP)               \
1028         $(PORTGEN)              \
1029         $(PORTGEN64)            \
1030         $(PORTI18N)             \
1031         $(PORTI18N_COND)        \
1032         $(PORTLOCALE)           \
1033         $(PORTPRINT)            \
1034         $(PORTPRINT_C89)        \
1035         $(PORTPRINT_W)          \
1036         $(PORTREGEX)            \
1037         $(PORTREGEX64)          \
1038         $(PORTSTDIO)            \
1039         $(PORTSTDIO64)          \
1040         $(PORTSTDIO_C89)        \
1041         $(PORTSTDIO_W)          \
1042         $(PORTSYS)              \
1043         $(PORTSYS64)            \
1044         $(AIOOBJS)              \
1045         $(RTOBJS)               \
1046         $(SECFLAGSOBJS)         \
1047         $(TPOOLOBJS)            \
1048         $(THREADSOBJS)          \
1049         $(THREADSMACHOBJS)      \
1050         $(THREADSASMOBJS)       \
1051         $(UNICODEOBJS)          \
1052         $(UNWINDMACHOBJS)       \
1053         $(UNWINDASMOBJS)        \
1054         $(COMSYSOBJS)           \
1055         $(SYSOBJS)              \
1056         $(COMSYSOBJS64)         \
1057         $(SYSOBJS64)            \
1058         $(VALUES)
1059 
1060 TRACEOBJS=                      \
1061         plockstat.o
1062 
1063 # NOTE: libc.so.1 must be linked with the minimal crti.o and crtn.o
1064 # modules whose source is provided in the $(SRC)/lib/common directory.
1065 # This must be done because otherwise the Sun C compiler would insert
1066 # its own versions of these modules and those versions contain code


1169         $(ALTPICS)
1170 
1171 CLOBBERFILES += $(LIB_PIC)
1172 
1173 # list of C source for lint
1174 SRCS=                                                   \
1175         $(ATOMICOBJS:%.o=$(SRC)/common/atomic/%.c)      \
1176         $(XATTROBJS:%.o=$(SRC)/common/xattr/%.c)        \
1177         $(COMOBJS:%.o=$(SRC)/common/util/%.c)           \
1178         $(DTRACEOBJS:%.o=$(SRC)/common/dtrace/%.c)      \
1179         $(PORTFP:%.o=$(LIBCDIR)/port/fp/%.c)                    \
1180         $(PORTGEN:%.o=$(LIBCDIR)/port/gen/%.c)                  \
1181         $(PORTI18N:%.o=$(LIBCDIR)/port/i18n/%.c)                \
1182         $(PORTLOCALE:%.o=$(LIBCDIR)/port/locale/%.c)            \
1183         $(PORTPRINT:%.o=$(LIBCDIR)/port/print/%.c)              \
1184         $(PORTREGEX:%.o=$(LIBCDIR)/port/regex/%.c)              \
1185         $(PORTSTDIO:%.o=$(LIBCDIR)/port/stdio/%.c)              \
1186         $(PORTSYS:%.o=$(LIBCDIR)/port/sys/%.c)                  \
1187         $(AIOOBJS:%.o=$(LIBCDIR)/port/aio/%.c)                  \
1188         $(RTOBJS:%.o=$(LIBCDIR)/port/rt/%.c)                    \
1189         $(SECFLAGSOBJS:%.o=$(SRC)/common/secflags/%.c)          \
1190         $(TPOOLOBJS:%.o=$(LIBCDIR)/port/tpool/%.c)              \
1191         $(THREADSOBJS:%.o=$(LIBCDIR)/port/threads/%.c)          \
1192         $(THREADSMACHOBJS:%.o=$(LIBCDIR)/$(MACH)/threads/%.c)   \
1193         $(UNICODEOBJS:%.o=$(SRC)/common/unicode/%.c)    \
1194         $(UNWINDMACHOBJS:%.o=$(LIBCDIR)/port/unwind/%.c)        \
1195         $(FPOBJS:%.o=$(LIBCDIR)/$(MACH)/fp/%.c)                 \
1196         $(LIBCBASE)/crt/_ftou.c                         \
1197         $(LIBCBASE)/gen/_xregs_clrptr.c                 \
1198         $(LIBCBASE)/gen/byteorder.c                     \
1199         $(LIBCBASE)/gen/ecvt.c                          \
1200         $(LIBCBASE)/gen/endian.c                        \
1201         $(LIBCBASE)/gen/getctxt.c                       \
1202         $(LIBCBASE)/gen/lmul.c                          \
1203         $(LIBCBASE)/gen/makectxt.c                      \
1204         $(LIBCBASE)/gen/siginfolst.c                    \
1205         $(LIBCBASE)/gen/siglongjmp.c                    \
1206         $(LIBCBASE)/gen/swapctxt.c                      \
1207         $(LIBCBASE)/sys/ptrace.c                        \
1208         $(LIBCBASE)/sys/uadmin.c
1209