ABI changes: Add d_type to struct dirent Fix f_files/f_ffree bug in struct statfs (they are always ino64_t) Adjust struct statfs or remove statfs/fstatfs outright Implement statfs[64] in terms of statvfs[64] Use sysfs to translate fsname into fstype /usr/include/gnu/stubs-32.h ptrace details: /proc/PID/{as,ctl,status,sigact,psinfo} PTRACE_PEEK, PTRACE_PEEKDATA: pread(as) PTRACE_PEEKUSR: user_t PTRACE_POKETEXT, PTRACE_POKEDATA: pwrite(as) PTRACE_POKEUSR: user_t PTRACE_CONT: PTRACE_KILL: ctl is managed via PC* constants (e.g. PCSTRACE) write command (long) followed by struct These are solaris extensions that we should implement: _sharefs _cladm (sys/cladm.h) exportfs, nfs_getfh, nfssvc [SYS_nfssys] (sys/nfssec.h) [maybe not] lgrpsys gethomelgroup _ttyname_dev pthread_rwlock_reltimedrdlock_np pthread_rwlock_reltimedwrlock_np Insert into headers: resolvpath (unistd.h) issetugid (unistd.h) getvmusage (sys/vm_usage.h) str2sig, sig2str (signal.h) sigsend, sigsendset (signal.h) getexecname (stdlib.h) lltostr, ulltostr (stdlib.h) fdwalk, closefrom (stdlib.h) INVALID_NOT_TERMINATED_TD_P expects to succeed on terminated threads More __builtin_expect's More clocks in pthread_condattr_setclock Use timer_* syscalls Fix forward.c to include mutex_* and thr_main thr_main should return -1 when libpthread.so is not linked in