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.


 252         mmapobjsys.o            \
 253         modctl.o                \
 254         mount.o                 \
 255         mprotect.o              \
 256         munmap.o                \
 257         nice.o                  \
 258         ntp_adjtime.o           \
 259         ntp_gettime.o           \
 260         p_online.o              \
 261         pathconf.o              \
 262         pause.o                 \
 263         pcsample.o              \
 264         pipe2.o                 \
 265         pollsys.o               \
 266         pread.o                 \
 267         preadv.o                \
 268         priocntlset.o           \
 269         processor_bind.o        \
 270         processor_info.o        \
 271         profil.o                \

 272         putmsg.o                \
 273         putpmsg.o               \
 274         pwrite.o                \
 275         pwritev.o               \
 276         read.o                  \
 277         readv.o                 \
 278         resolvepath.o           \
 279         seteguid.o              \
 280         setgid.o                \
 281         setgroups.o             \
 282         setitimer.o             \
 283         setreid.o               \
 284         setrlimit.o             \
 285         setuid.o                \
 286         sigaltstk.o             \
 287         sigprocmsk.o            \
 288         sigsendset.o            \
 289         sigsuspend.o            \
 290         statfs.o                \
 291         statvfs.o               \


 502         nsparse.o               \
 503         nss_common.o            \
 504         nss_dbdefs.o            \
 505         nss_deffinder.o         \
 506         opendir.o               \
 507         opt_data.o              \
 508         perror.o                \
 509         pfmt.o                  \
 510         pfmt_data.o             \
 511         pfmt_print.o            \
 512         pipe.o                  \
 513         plock.o                 \
 514         poll.o                  \
 515         posix_fadvise.o         \
 516         posix_fallocate.o       \
 517         posix_madvise.o         \
 518         posix_memalign.o        \
 519         priocntl.o              \
 520         privlib.o               \
 521         priv_str_xlate.o        \

 522         psiginfo.o              \
 523         psignal.o               \
 524         pt.o                    \
 525         putpwent.o              \
 526         putspent.o              \
 527         raise.o                 \
 528         rand.o                  \
 529         random.o                \
 530         rctlops.o               \
 531         readdir.o               \
 532         readdir_r.o             \
 533         realpath.o              \
 534         reboot.o                \
 535         regexpr.o               \
 536         remove.o                \
 537         rewinddir.o             \
 538         rindex.o                \
 539         scandir.o               \
 540         seekdir.o               \
 541         select.o                \


 813         wctomb.o                \
 814         wctrans.o               \
 815         wctype.o                \
 816         wcwidth.o               \
 817         wscol.o
 818 
 819 AIOOBJS=                        \
 820         aio.o                   \
 821         aio_alloc.o             \
 822         posix_aio.o
 823 
 824 RTOBJS=                         \
 825         clock_timer.o           \
 826         mqueue.o                \
 827         pos4obj.o               \
 828         sched.o                 \
 829         sem.o                   \
 830         shm.o                   \
 831         sigev_thread.o
 832 



 833 TPOOLOBJS=                      \
 834         thread_pool.o
 835 
 836 THREADSOBJS=                    \
 837         alloc.o                 \
 838         assfail.o               \
 839         c11_thr.o               \
 840         cancel.o                \
 841         door_calls.o            \
 842         tmem.o                  \
 843         pthr_attr.o             \
 844         pthr_barrier.o          \
 845         pthr_cond.o             \
 846         pthr_mutex.o            \
 847         pthr_rwlock.o           \
 848         pthread.o               \
 849         rwlock.o                \
 850         scalls.o                \
 851         sema.o                  \
 852         sigaction.o             \


 960         $(XATTROBJS)            \
 961         $(COMOBJS)              \
 962         $(GENOBJS)              \
 963         $(PRFOBJS)              \
 964         $(PORTFP)               \
 965         $(PORTGEN)              \
 966         $(PORTGEN64)            \
 967         $(PORTI18N)             \
 968         $(PORTI18N_COND)        \
 969         $(PORTLOCALE)           \
 970         $(PORTPRINT)            \
 971         $(PORTPRINT_W)          \
 972         $(PORTREGEX)            \
 973         $(PORTSTDIO)            \
 974         $(PORTSTDIO64)          \
 975         $(PORTSTDIO_W)          \
 976         $(PORTSYS)              \
 977         $(PORTSYS64)            \
 978         $(AIOOBJS)              \
 979         $(RTOBJS)               \

 980         $(TPOOLOBJS)            \
 981         $(THREADSOBJS)          \
 982         $(THREADSMACHOBJS)      \
 983         $(THREADSASMOBJS)       \
 984         $(UNICODEOBJS)          \
 985         $(UNWINDMACHOBJS)       \
 986         $(UNWINDASMOBJS)        \
 987         $(COMSYSOBJS)           \
 988         $(SYSOBJS)              \
 989         $(COMSYSOBJS64)         \
 990         $(SYSOBJS64)            \
 991         $(VALUES)
 992 
 993 TRACEOBJS=                      \
 994         plockstat.o
 995 
 996 # NOTE: libc.so.1 must be linked with the minimal crti.o and crtn.o
 997 # modules whose source is provided in the $(SRC)/lib/common directory.
 998 # This must be done because otherwise the Sun C compiler would insert
 999 # its own versions of these modules and those versions contain code


1092         pics/crtn.o             \
1093         $(ALTPICS)
1094 
1095 CLOBBERFILES += $(LIB_PIC)
1096 
1097 # list of C source for lint
1098 SRCS=                                                   \
1099         $(ATOMICOBJS:%.o=$(SRC)/common/atomic/%.c)      \
1100         $(XATTROBJS:%.o=$(SRC)/common/xattr/%.c)        \
1101         $(COMOBJS:%.o=$(SRC)/common/util/%.c)           \
1102         $(PORTFP:%.o=$(LIBCDIR)/port/fp/%.c)                    \
1103         $(PORTGEN:%.o=$(LIBCDIR)/port/gen/%.c)                  \
1104         $(PORTI18N:%.o=$(LIBCDIR)/port/i18n/%.c)                \
1105         $(PORTLOCALE:%.o=$(LIBCDIR)/port/locale/%.c)            \
1106         $(PORTPRINT:%.o=$(LIBCDIR)/port/print/%.c)              \
1107         $(PORTREGEX:%.o=$(LIBCDIR)/port/regex/%.c)              \
1108         $(PORTSTDIO:%.o=$(LIBCDIR)/port/stdio/%.c)              \
1109         $(PORTSYS:%.o=$(LIBCDIR)/port/sys/%.c)                  \
1110         $(AIOOBJS:%.o=$(LIBCDIR)/port/aio/%.c)                  \
1111         $(RTOBJS:%.o=$(LIBCDIR)/port/rt/%.c)                    \

1112         $(TPOOLOBJS:%.o=$(LIBCDIR)/port/tpool/%.c)              \
1113         $(THREADSOBJS:%.o=$(LIBCDIR)/port/threads/%.c)          \
1114         $(THREADSMACHOBJS:%.o=$(LIBCDIR)/$(MACH)/threads/%.c)   \
1115         $(UNICODEOBJS:%.o=$(SRC)/common/unicode/%.c)    \
1116         $(UNWINDMACHOBJS:%.o=$(LIBCDIR)/port/unwind/%.c)        \
1117         $(FPOBJS:%.o=$(LIBCDIR)/$(MACH)/fp/%.c)                 \
1118         $(FPOBJS64:%.o=$(LIBCBASE)/fp/%.c)              \
1119         $(LIBCBASE)/crt/_ftou.c                         \
1120         $(LIBCBASE)/gen/_xregs_clrptr.c                 \
1121         $(LIBCBASE)/gen/byteorder.c                     \
1122         $(LIBCBASE)/gen/endian.c                        \
1123         $(LIBCBASE)/gen/ecvt.c                          \
1124         $(LIBCBASE)/gen/getctxt.c                       \
1125         $(LIBCBASE)/gen/makectxt.c                      \
1126         $(LIBCBASE)/gen/siginfolst.c                    \
1127         $(LIBCBASE)/gen/siglongjmp.c                    \
1128         $(LIBCBASE)/gen/swapctxt.c
1129 
1130 # conditional assignments
1131 $(DYNLIB) := CRTI = crti.o




 252         mmapobjsys.o            \
 253         modctl.o                \
 254         mount.o                 \
 255         mprotect.o              \
 256         munmap.o                \
 257         nice.o                  \
 258         ntp_adjtime.o           \
 259         ntp_gettime.o           \
 260         p_online.o              \
 261         pathconf.o              \
 262         pause.o                 \
 263         pcsample.o              \
 264         pipe2.o                 \
 265         pollsys.o               \
 266         pread.o                 \
 267         preadv.o                \
 268         priocntlset.o           \
 269         processor_bind.o        \
 270         processor_info.o        \
 271         profil.o                \
 272         psecflagsset.o          \
 273         putmsg.o                \
 274         putpmsg.o               \
 275         pwrite.o                \
 276         pwritev.o               \
 277         read.o                  \
 278         readv.o                 \
 279         resolvepath.o           \
 280         seteguid.o              \
 281         setgid.o                \
 282         setgroups.o             \
 283         setitimer.o             \
 284         setreid.o               \
 285         setrlimit.o             \
 286         setuid.o                \
 287         sigaltstk.o             \
 288         sigprocmsk.o            \
 289         sigsendset.o            \
 290         sigsuspend.o            \
 291         statfs.o                \
 292         statvfs.o               \


 503         nsparse.o               \
 504         nss_common.o            \
 505         nss_dbdefs.o            \
 506         nss_deffinder.o         \
 507         opendir.o               \
 508         opt_data.o              \
 509         perror.o                \
 510         pfmt.o                  \
 511         pfmt_data.o             \
 512         pfmt_print.o            \
 513         pipe.o                  \
 514         plock.o                 \
 515         poll.o                  \
 516         posix_fadvise.o         \
 517         posix_fallocate.o       \
 518         posix_madvise.o         \
 519         posix_memalign.o        \
 520         priocntl.o              \
 521         privlib.o               \
 522         priv_str_xlate.o        \
 523         psecflags.o             \
 524         psiginfo.o              \
 525         psignal.o               \
 526         pt.o                    \
 527         putpwent.o              \
 528         putspent.o              \
 529         raise.o                 \
 530         rand.o                  \
 531         random.o                \
 532         rctlops.o               \
 533         readdir.o               \
 534         readdir_r.o             \
 535         realpath.o              \
 536         reboot.o                \
 537         regexpr.o               \
 538         remove.o                \
 539         rewinddir.o             \
 540         rindex.o                \
 541         scandir.o               \
 542         seekdir.o               \
 543         select.o                \


 815         wctomb.o                \
 816         wctrans.o               \
 817         wctype.o                \
 818         wcwidth.o               \
 819         wscol.o
 820 
 821 AIOOBJS=                        \
 822         aio.o                   \
 823         aio_alloc.o             \
 824         posix_aio.o
 825 
 826 RTOBJS=                         \
 827         clock_timer.o           \
 828         mqueue.o                \
 829         pos4obj.o               \
 830         sched.o                 \
 831         sem.o                   \
 832         shm.o                   \
 833         sigev_thread.o
 834 
 835 SECFLAGSOBJS=                   \
 836         secflags.o
 837 
 838 TPOOLOBJS=                      \
 839         thread_pool.o
 840 
 841 THREADSOBJS=                    \
 842         alloc.o                 \
 843         assfail.o               \
 844         c11_thr.o               \
 845         cancel.o                \
 846         door_calls.o            \
 847         tmem.o                  \
 848         pthr_attr.o             \
 849         pthr_barrier.o          \
 850         pthr_cond.o             \
 851         pthr_mutex.o            \
 852         pthr_rwlock.o           \
 853         pthread.o               \
 854         rwlock.o                \
 855         scalls.o                \
 856         sema.o                  \
 857         sigaction.o             \


 965         $(XATTROBJS)            \
 966         $(COMOBJS)              \
 967         $(GENOBJS)              \
 968         $(PRFOBJS)              \
 969         $(PORTFP)               \
 970         $(PORTGEN)              \
 971         $(PORTGEN64)            \
 972         $(PORTI18N)             \
 973         $(PORTI18N_COND)        \
 974         $(PORTLOCALE)           \
 975         $(PORTPRINT)            \
 976         $(PORTPRINT_W)          \
 977         $(PORTREGEX)            \
 978         $(PORTSTDIO)            \
 979         $(PORTSTDIO64)          \
 980         $(PORTSTDIO_W)          \
 981         $(PORTSYS)              \
 982         $(PORTSYS64)            \
 983         $(AIOOBJS)              \
 984         $(RTOBJS)               \
 985         $(SECFLAGSOBJS)         \
 986         $(TPOOLOBJS)            \
 987         $(THREADSOBJS)          \
 988         $(THREADSMACHOBJS)      \
 989         $(THREADSASMOBJS)       \
 990         $(UNICODEOBJS)          \
 991         $(UNWINDMACHOBJS)       \
 992         $(UNWINDASMOBJS)        \
 993         $(COMSYSOBJS)           \
 994         $(SYSOBJS)              \
 995         $(COMSYSOBJS64)         \
 996         $(SYSOBJS64)            \
 997         $(VALUES)
 998 
 999 TRACEOBJS=                      \
1000         plockstat.o
1001 
1002 # NOTE: libc.so.1 must be linked with the minimal crti.o and crtn.o
1003 # modules whose source is provided in the $(SRC)/lib/common directory.
1004 # This must be done because otherwise the Sun C compiler would insert
1005 # its own versions of these modules and those versions contain code


1098         pics/crtn.o             \
1099         $(ALTPICS)
1100 
1101 CLOBBERFILES += $(LIB_PIC)
1102 
1103 # list of C source for lint
1104 SRCS=                                                   \
1105         $(ATOMICOBJS:%.o=$(SRC)/common/atomic/%.c)      \
1106         $(XATTROBJS:%.o=$(SRC)/common/xattr/%.c)        \
1107         $(COMOBJS:%.o=$(SRC)/common/util/%.c)           \
1108         $(PORTFP:%.o=$(LIBCDIR)/port/fp/%.c)                    \
1109         $(PORTGEN:%.o=$(LIBCDIR)/port/gen/%.c)                  \
1110         $(PORTI18N:%.o=$(LIBCDIR)/port/i18n/%.c)                \
1111         $(PORTLOCALE:%.o=$(LIBCDIR)/port/locale/%.c)            \
1112         $(PORTPRINT:%.o=$(LIBCDIR)/port/print/%.c)              \
1113         $(PORTREGEX:%.o=$(LIBCDIR)/port/regex/%.c)              \
1114         $(PORTSTDIO:%.o=$(LIBCDIR)/port/stdio/%.c)              \
1115         $(PORTSYS:%.o=$(LIBCDIR)/port/sys/%.c)                  \
1116         $(AIOOBJS:%.o=$(LIBCDIR)/port/aio/%.c)                  \
1117         $(RTOBJS:%.o=$(LIBCDIR)/port/rt/%.c)                    \
1118         $(SECFLAGSOBJS:%.o=$(SRC)/common/secflags/%.c)          \
1119         $(TPOOLOBJS:%.o=$(LIBCDIR)/port/tpool/%.c)              \
1120         $(THREADSOBJS:%.o=$(LIBCDIR)/port/threads/%.c)          \
1121         $(THREADSMACHOBJS:%.o=$(LIBCDIR)/$(MACH)/threads/%.c)   \
1122         $(UNICODEOBJS:%.o=$(SRC)/common/unicode/%.c)    \
1123         $(UNWINDMACHOBJS:%.o=$(LIBCDIR)/port/unwind/%.c)        \
1124         $(FPOBJS:%.o=$(LIBCDIR)/$(MACH)/fp/%.c)                 \
1125         $(FPOBJS64:%.o=$(LIBCBASE)/fp/%.c)              \
1126         $(LIBCBASE)/crt/_ftou.c                         \
1127         $(LIBCBASE)/gen/_xregs_clrptr.c                 \
1128         $(LIBCBASE)/gen/byteorder.c                     \
1129         $(LIBCBASE)/gen/endian.c                        \
1130         $(LIBCBASE)/gen/ecvt.c                          \
1131         $(LIBCBASE)/gen/getctxt.c                       \
1132         $(LIBCBASE)/gen/makectxt.c                      \
1133         $(LIBCBASE)/gen/siginfolst.c                    \
1134         $(LIBCBASE)/gen/siglongjmp.c                    \
1135         $(LIBCBASE)/gen/swapctxt.c
1136 
1137 # conditional assignments
1138 $(DYNLIB) := CRTI = crti.o