1 The following headers are missing FSF headers:
3 More CHECK_1 and co. from bp-checks.h
10 [gs]etsourcefilter (SIOCGMSFILTER / SIOCSMSFILTER)
11 [gs]etipv4sourcefilter (SIOCGIPMSFILTER / SIOCSIPMSFILTER)
12 See /usr/include/gnu/stubs-32.h
14 Check syscalls.list; change some p => s
17 /proc/PID/{as,ctl,status,sigact,psinfo}
18 PTRACE_PEEK, PTRACE_PEEKDATA: pread(as)
19 PTRACE_PEEKUSR: user_t
20 PTRACE_POKETEXT, PTRACE_POKEDATA: pwrite(as)
21 PTRACE_POKEUSR: user_t
25 ctl is managed via PC* constants (e.g. PCSTRACE)
26 write command (long) followed by struct
28 These are solaris extensions that we should implement:
36 install_utrap, sparc_utrap_install
43 uucopy, uucopystr (strings.h)
45 acctctl (sys/acctctl.h)
46 getacct, putacct, wracct [SYS_exacctsys] (sys/exacct.h)
47 allocids, idmap_reg, idmap_unreg [SYS_sidsys] (sys/sid.h)
48 exportfs, nfs_getfh, nfssvc [SYS_nfssys] (sys/nfssec.h) [maybe not]
55 strlcpy, strlcat (strings.h)
56 getvmusage (sys/vm_usage.h)
58 Use pthread_cleanup_push/pthread_cleanup_pop
60 INVALID_NOT_TERMINATED_TD_P expects to succeed on terminated threads
62 getpriority and setpriority share common code - refactor
64 More __builtin_expect's
66 Use LIBC_CANCEL_HANDLED where needed
68 We should probably define _LP64 and _IP32 (sys/isa_defs.h)
70 The following are cancellation points (need to enable async cancellation):
71 pthread_cond_timedwait, pthread_cond_wait
72 sem_timedwait, sem_wait
74 pthread_rwlock_*lock are not cancellation points - but we call
75 pthread_cond_timedwait, which is a cancellation point. Hence
76 we need something like __pthread_cond_timedwait_no_cancel.
78 Since we now use an entirely libc-based rwlock implementation we should be able
79 to support PTHREAD_RWLOCK_PREFER_READER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NP,
80 and PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP.