musl/include/sys
Rich Felker acde013522 fix remaining known namespace violations for netinet/in.h
the imr_, imsf_, ip6_, ip6m_, ipi_, ipi6_, SCM_, and SOL_ prefixes are
not in the reserved namespace for this header. thus the constants and
structures using them need to be protected under appropriate feature
test macros.

this also affects some headers which are permitted to include
netinet/in.h, particularly netdb.h and arpa/inet.h.

the SOL_ macros are moved to sys/socket.h where they are in the
reserved namespace (SO*). they are still accessible via netinet/in.h
since it includes sys/socket.h implicitly (which is permitted).

the SCM_SRCRT macro is simply removed, since the definition used for
it, IPV6_RXSRCRT is not defined anywhere. it could be re-added, this
time in sys/socket.h, if the appropriate value can be determined;
however, given that the erroneous definition was not caught, it is
unlikely that any software actually attempts to use SCM_SRCRT.
2014-01-08 18:54:33 -05:00
..
acct.h add acct, accept4, setns, and dup3 syscalls (linux extensions) 2012-09-08 20:22:08 -04:00
cachectl.h mips cache flush/ctl syscall support and header 2012-11-04 17:06:31 -05:00
dir.h add wrapper headers, with warnings, for various incorrect names under sys 2013-07-27 17:11:34 -04:00
epoll.h fix epoll structure alignment on non-x86_64 archs 2013-03-06 23:57:39 -05:00
errno.h add wrapper headers, with warnings, for various incorrect names under sys 2013-07-27 17:11:34 -04:00
eventfd.h fix eventfd and inotify nonblock/cloexec flags to match arch values 2012-11-26 13:00:58 -05:00
fanotify.h add fanotify syscall wrapper and header 2014-01-02 22:10:45 +01:00
fcntl.h add wrapper headers, with warnings, for various incorrect names under sys 2013-07-27 17:11:34 -04:00
file.h
fsuid.h
inotify.h fix incorrect type for wd argument of inotify_rm_watch 2014-01-07 02:41:27 -05:00
io.h fix breakage from introducing bits header for sys/io.h 2012-11-18 19:58:15 -05:00
ioctl.h
ipc.h fix regressions in app compatibility from previous sys/ipc.h changes 2012-12-10 21:36:12 -05:00
kd.h
klog.h
mman.h fix signedness of pgoff argument to remap_file_pages 2014-01-07 02:58:28 -05:00
mount.h add mount flags to sys/mount.h 2013-01-12 19:42:39 +01:00
msg.h add missing MSG_EXCEPT in sys/msg.h 2013-08-14 02:48:11 -04:00
mtio.h use 0 instead of NULL in headers where NULL is not defined 2013-11-24 00:34:07 +00:00
param.h
personality.h sys/personality.h: add missing C++ compat 2013-08-08 20:57:35 +02:00
poll.h add wrapper headers, with warnings, for various incorrect names under sys 2013-07-27 17:11:34 -04:00
prctl.h add macros for new(ish) prctl commands 2013-07-30 18:15:50 -04:00
procfs.h make sys/procfs.h mostly work on most archs 2012-11-25 22:28:18 -05:00
ptrace.h ptrace.h: add new ptrace requests to get/set sigmask 2013-09-15 02:49:26 +00:00
quota.h add sys/quota.h and quotactl syscall wrapper 2013-12-20 11:52:10 -05:00
reboot.h add RB_SW_SUSPEND and RB_KEXEC to sys/reboot.h 2013-01-12 19:42:39 +01:00
reg.h
resource.h sys/resource.h: add PRIO_MIN and PRIO_MAX for getpriority and setpriority 2013-09-16 15:16:55 +00:00
select.h add NFDBITS in sys/select.h with appropriate feature tests 2013-07-06 01:12:28 -04:00
sem.h work around wrong kernel type for sem_nsems member of struct semid_ds 2013-06-28 23:57:58 -04:00
sendfile.h
shm.h add missing type shmatt_t in sys/shm.h 2013-06-28 23:39:50 -04:00
signal.h add wrapper headers, with warnings, for various incorrect names under sys 2013-07-27 17:11:34 -04:00
signalfd.h fix struct signalfd_siginfo 2013-12-29 21:55:21 -05:00
socket.h fix remaining known namespace violations for netinet/in.h 2014-01-08 18:54:33 -05:00
soundcard.h
stat.h feature test macros: make _GNU_SOURCE enable everything 2012-12-03 16:57:01 -05:00
statfs.h refactor headers, especially alltypes.h, and improve C++ ABI compat 2013-07-22 11:22:36 -04:00
statvfs.h
stropts.h
swap.h add SWAP_FLAG_DISCARD to sys/swap.h 2013-01-12 19:42:39 +01:00
syscall.h syscall() declaration belongs in unistd.h, not sys/syscall.h 2012-12-10 16:40:45 -05:00
sysinfo.h
syslog.h
sysmacros.h fix shifts possibly larger than type in major() macro 2013-06-29 13:57:13 -04:00
termios.h add wrapper headers, with warnings, for various incorrect names under sys 2013-07-27 17:11:34 -04:00
time.h timeradd/timersub: cast result to void to get rid of warnings 2013-11-23 13:01:53 +01:00
timeb.h add legacy ftime function and sys/timeb.h 2013-10-25 14:15:08 -04:00
timerfd.h add missing flags in sys/timerfd.h 2012-12-13 14:15:11 -05:00
times.h
timex.h add ADJ_SETOFFSET timex mode bit (new in linux v2.6.39) 2013-04-01 16:24:12 +00:00
ttydefaults.h add legacy sys/ttydefaults.h header 2013-07-03 18:07:51 +02:00
types.h move register_t and u_int64_t (back) to alltypes 2013-07-22 16:40:35 -04:00
ucontext.h
uio.h add UIO_MAXIOV macro in sys/uio.h 2013-07-19 19:57:52 -04:00
un.h add SUN_LEN macro to sys/un.h under appropriate feature tests 2013-08-21 21:46:57 -04:00
user.h
utsname.h
vfs.h
vt.h
wait.h adjust sys/wait.h not to produde errors in strict ISO C feature profile 2013-11-09 00:04:02 -05:00
xattr.h