1 The following headers are missing FSF headers:
3 More CHECK_1 and co. from bp-checks.h
9 [gs]etsourcefilter (SIOCGMSFILTER / SIOCSMSFILTER)
10 [gs]etipv4sourcefilter (SIOCGIPMSFILTER / SIOCSIPMSFILTER)
11 See /usr/include/gnu/stubs-32.h
13 Check syscalls.list; change some p => s
16 /proc/PID/{as,ctl,status,sigact,psinfo}
17 PTRACE_PEEK, PTRACE_PEEKDATA: pread(as)
18 PTRACE_PEEKUSR: user_t
19 PTRACE_POKETEXT, PTRACE_POKEDATA: pwrite(as)
20 PTRACE_POKEUSR: user_t
24 ctl is managed via PC* constants (e.g. PCSTRACE)
25 write command (long) followed by struct
27 These are solaris extensions that we should implement:
33 install_utrap, sparc_utrap_install
37 exportfs, nfs_getfh, nfssvc [SYS_nfssys] (sys/nfssec.h) [maybe not]
47 strlcpy, strlcat (string.h or strings.h)
48 getvmusage (sys/vm_usage.h)
49 uucopy, uucopystr (string.h or strings.h)
51 INVALID_NOT_TERMINATED_TD_P expects to succeed on terminated threads
53 More __builtin_expect's
55 Use LIBC_CANCEL_HANDLED where needed
57 We should probably define _LP64 and _IP32 (sys/isa_defs.h)
59 The following are cancellation points (need to enable async cancellation):
60 pthread_cond_timedwait, pthread_cond_wait
61 sem_timedwait, sem_wait
63 pthread_rwlock_*lock are not cancellation points - but we call
64 pthread_cond_timedwait, which is a cancellation point. Hence
65 we need something like __pthread_cond_timedwait_no_cancel.
67 Since we now use an entirely libc-based rwlock implementation we should be able
68 to support PTHREAD_RWLOCK_PREFER_READER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NP,
69 and PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP.
71 Use syscall instead of INLINE_SYSCALL; also create __syscall_errval
73 Get rid of all saved_errno usage
75 More clocks in pthread_condattr_setclock
77 List of CDDL headers needed to compile random stuff:
78 sys/dlpi.h [Should be LGPL'd]
79 sys/sysi86.h [Should be LGPL'd]
80 sys/ctf_api.h [libctf]
85 gelf.h [libelf; need to add Elf64_Cap]
87 Use cond_t data field for broadcast seqence
91 Instead of AT_SECURE we can use AF_SUN_SETUGID [AT_SUN_AUXFLAGS]
93 We can't _exit if the main thread goes away since we have daemon threaeds (THR_DAEMON)