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
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
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
ioctl.h
ipc.h
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
reg.h
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
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
statvfs.h
stropts.h
swap.h
syscall.h
sysinfo.h
syslog.h
sysmacros.h
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
ttydefaults.h
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
un.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
user.h
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