Lots of fixes
[kopensolaris-gnu/glibc.git] / TODO.opensolaris
1 /usr/include/gnu/stubs-32.h
2
3 ptrace details:
4   /proc/PID/{as,ctl,status,sigact,psinfo}
5   PTRACE_PEEK, PTRACE_PEEKDATA: pread(as)
6   PTRACE_PEEKUSR: user_t
7   PTRACE_POKETEXT, PTRACE_POKEDATA: pwrite(as)
8   PTRACE_POKEUSR: user_t
9   PTRACE_CONT:
10   PTRACE_KILL:
11
12   ctl is managed via PC* constants (e.g. PCSTRACE)
13     write command (long) followed by struct
14
15 These are solaris extensions that we should implement:
16   _sharefs
17   _cladm (sys/cladm.h)
18   exportfs, nfs_getfh, nfssvc [SYS_nfssys] (sys/nfssec.h) [maybe not]
19   lgrpsys
20   gethomelgroup
21   atomic_*
22   _ttyname_dev
23   pthread_key_create_once_np
24   pthread_mutex_reltimedlock_np
25   pthread_rwlock_reltimedrdlock_np
26   pthread_rwlock_reltimedwrlock_np
27
28 Insert into headers:
29   resolvpath (unistd.h)
30   issetugid (unistd.h)
31   getvmusage (sys/vm_usage.h)
32   str2sig, sig2str (signal.h)
33   sigsend, sigsendset (signal.h)
34   getexecname (stdlib.h)
35   lltostr, ulltostr (stdlib.h)
36   fdwalk, closefrom (stdlib.h)
37
38 INVALID_NOT_TERMINATED_TD_P expects to succeed on terminated threads
39
40 More __builtin_expect's
41
42 Since we now use an entirely libc-based rwlock implementation we should be able
43   to support PTHREAD_RWLOCK_PREFER_READER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NP,
44   and PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP.
45
46 More clocks in pthread_condattr_setclock
47
48 Use timer_* syscalls
49
50 Fix forward.c to include mutex_* and thr_main
51   thr_main should return -1 when libpthread.so is not linked in