musl/include/sys
Rich Felker 9b732fe51b fix shifts possibly larger than type in major() macro
in theory this should not be an issue, since major() should only be
applied to type dev_t, which is 64-bit. however, it appears some
applications are not using dev_t but a smaller integer type (which
works on Linux because the kernel's dev_t is really only 32-bit). to
avoid the undefined behavior, do it as two shifts.
2013-06-29 13:57:13 -04:00
..
acct.h
cachectl.h mips cache flush/ctl syscall support and header 2012-11-04 17:06:31 -05:00
epoll.h fix epoll structure alignment on non-x86_64 archs 2013-03-06 23:57:39 -05:00
eventfd.h fix eventfd and inotify nonblock/cloexec flags to match arch values 2012-11-26 13:00:58 -05:00
file.h
fsuid.h
inotify.h add IN_EXCL_UNLINK to sys/inotify.h 2013-01-12 19:42:39 +01: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
mount.h add mount flags to sys/mount.h 2013-01-12 19:42:39 +01:00
msg.h add struct msgbuf to sys/msg.h 2012-12-06 20:27:54 +01:00
mtio.h add cleaned-up sys/mtio.h 2012-11-17 19:51:49 -05:00
param.h
personality.h add personality syscall 2012-12-06 21:01:06 +01:00
poll.h
prctl.h
procfs.h make sys/procfs.h mostly work on most archs 2012-11-25 22:28:18 -05:00
ptrace.h add missing ptrace requests and options to sys/ptrace.h 2013-01-12 19:42:39 +01: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 LFS64 alias for prlimit 2012-09-21 04:05:01 -04:00
select.h
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
signalfd.h fix another case of cloexec/nonblock flags not matching arch values 2013-01-10 17:57:30 -05:00
socket.h add new socket options to sys/socket.h following linux 2013-04-01 16:24:12 +00:00
soundcard.h
stat.h feature test macros: make _GNU_SOURCE enable everything 2012-12-03 16:57:01 -05:00
statfs.h
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
sysctl.h
sysinfo.h
syslog.h
sysmacros.h fix shifts possibly larger than type in major() macro 2013-06-29 13:57:13 -04:00
time.h fix the prototype of settimeofday to follow the original BSD declaration 2013-05-26 16:01:38 +00: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
types.h re-add useconds_t 2013-04-02 04:58:14 +02:00
ucontext.h
uio.h
un.h
user.h
utsname.h
vfs.h
vt.h
wait.h wait.h: add linux specific, thread-related waitpid() flags 2013-01-04 20:36:34 +01:00
xattr.h