musl/include/sys
Hauke Mehrtens b583c5d3b4 add additional uapi guards for Linux kernel header files
With Linux kernel 4.16 it will be possible to guard more parts of the
Linux header files from a libc. Make use of this in musl to guard all
the structures and other definitions from the Linux header files which
are also defined by the header files provided by musl. This will make
it possible to compile source files which include both the libc
headers and the kernel userspace headers.

This extends the definitions done in commit 04983f2272 ("make
netinet/in.h suppress clashing definitions from kernel headers")
2018-01-09 13:08:25 -05:00
..
acct.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
auxv.h add bits/hwcap.h and include it in sys/auxv.h 2016-10-20 01:28:25 -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 add EPOLLEXCLUSIVE epoll flag from linux v4.5 2016-03-19 11:31:19 -04: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 various header cleanups, some related to _BSD_SOURCE addition 2012-05-22 22:04:55 -04:00
fsuid.h header file fixes: multiple include guard consistency and correctness 2012-06-15 21:52:53 -04:00
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 add MADV_FREE madvise command from linux v4.5 2016-03-19 11:31:24 -04:00
mount.h add MS_NOREMOTELOCK mount flag from linux v4.9 2016-12-29 22:10:44 -05: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 fix misspelling of a legacy macro name in sys/param.h 2016-10-20 17:01:56 -04:00
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 new PR_CAP_AMBIENT and related defines to sys/prctl.h 2016-01-26 18:30:14 -05:00
procfs.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
ptrace.h add new PTRACE_SECCOMP_GET_FILTER ptrace command 2016-01-26 18:31:17 -05:00
quota.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
reboot.h add RB_SW_SUSPEND and RB_KEXEC to sys/reboot.h 2013-01-12 19:42:39 +01:00
reg.h fix broken multi-inclusion guard in sys/reg.h 2011-09-19 11:56:09 -04:00
resource.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
select.h make brace placement in public header typedef'd structs consistent 2016-07-03 16:19:28 -04:00
sem.h move struct semid_ds to from shared sys/sem.h to bits 2014-03-11 15:27:13 -04:00
sendfile.h default features: make musl usable without feature test macros 2012-09-07 23:13:55 -04:00
shm.h sys/shm.h: move arch specific structs to bits/ 2014-02-23 11:07:18 +01: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 add SO_ getsockopt options from linux v4.13 2017-11-05 18:41:21 -05:00
soundcard.h
stat.h fix various header namespace issues under feature-test-macro control 2016-10-20 17:20:01 -04:00
statfs.h refactor headers, especially alltypes.h, and improve C++ ABI compat 2013-07-22 11:22:36 -04:00
statvfs.h default features: make musl usable without feature test macros 2012-09-07 23:13:55 -04:00
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 fix sysinfo, try 2. it seems to work this time. 2012-06-07 23:06:04 -04:00
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 remove redundant feature test macro checks in sys/time.h 2016-11-07 11:49:22 -05:00
timeb.h add legacy ftime function and sys/timeb.h 2013-10-25 14:15:08 -04:00
timerfd.h add TFD_TIMER_CANCEL_ON_SET that timerfd.h was missing 2017-11-05 18:40:58 -05:00
times.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
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 fix macros for LFS *64_t types in sys/stat.h, sys/types.h, glob.h 2014-09-05 16:03:07 -04:00
ucontext.h
uio.h add UIO_MAXIOV macro in sys/uio.h 2013-07-19 19:57:52 -04:00
un.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
user.h sys/user.h may need stdint.h 2011-09-23 14:24:57 -04:00
utsname.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
vfs.h
vt.h
wait.h fix signed and unsigned comparision in macros in public headers 2014-02-11 10:51:16 +01:00
xattr.h add additional uapi guards for Linux kernel header files 2018-01-09 13:08:25 -05:00