musl/include/sys
Rich Felker 81fb75a1d7 fix undefined pointer arithmetic in CMSG_NXTHDR macro
previously, the only way the stopping condition could be met with
correct lengths in the headers invoked undefined behavior, adding
sizeof(struct cmsghdr) beyond the end of the cmsg buffer.

instead, compute and compare sizes rather than pointers.
2016-05-22 18:49:59 -04:00
..
acct.h
auxv.h add getauxval function 2014-04-07 02:46:15 -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 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_LAZYTIME mount option to sys/mount.h 2016-01-24 19:18:41 -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
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 in sys/procfs.h, avoid using __WORDSIZE macro 2014-03-08 00:50:19 -05:00
ptrace.h add new PTRACE_SECCOMP_GET_FILTER ptrace command 2016-01-26 18:31:17 -05: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 add missing legacy LFS64 macros in sys/resource.h 2015-05-28 15:37:23 -04:00
select.h add NFDBITS in sys/select.h with appropriate feature tests 2013-07-06 01:12: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 fix undefined pointer arithmetic in CMSG_NXTHDR macro 2016-05-22 18:49:59 -04:00
soundcard.h
stat.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
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
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 add nonstandard timespec/timeval conversion macros in sys/time.h 2014-02-05 16:34:23 -05:00
timeb.h add legacy ftime function and sys/timeb.h 2013-10-25 14:15:08 -04:00
timerfd.h declare incomplete type struct itimerspec in timerfd.h 2015-03-04 14:38:08 -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 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 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 fix signed and unsigned comparision in macros in public headers 2014-02-11 10:51:16 +01:00
xattr.h