musl/include/sys
Rich Felker 08514d0614 fix epoll structure alignment on non-x86_64 archs
this fix is far from ideal and breaks the rule of not using
arch-specific #ifdefs, but for now we just need a solution to the
existing breakage.

the underlying problem is that the kernel folks made a very stupid
decision to make misalignment of this struct part of the kernel
API/ABI for x86_64, in order to avoid writing a few extra lines of
code to handle both 32- and 64-bit userspace on 64-bit kernels. I had
just added the packed attribute unconditionally thinking it was
harmless on 32-bit archs, but non-x86 32-bit archs have 8-byte
alignment on 64-bit types.
2013-03-06 23:57:39 -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
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 add clock_adjtime, remap_file_pages, and syncfs syscall wrappers 2012-09-16 22:26:23 -04:00
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 remove all remaining redundant __restrict/__inline/_Noreturn defs 2012-09-08 17:14:52 -04:00
sem.h default features: make musl usable without feature test macros 2012-09-07 23:13:55 -04:00
sendfile.h default features: make musl usable without feature test macros 2012-09-07 23:13:55 -04:00
shm.h add some missing macros to sys/shm.h 2012-12-15 00:43:27 -05:00
signalfd.h fix another case of cloexec/nonblock flags not matching arch values 2013-01-10 17:57:30 -05:00
socket.h fix some obscure header type size/alignment issues 2013-03-04 17:05:45 -05:00
soundcard.h
stat.h feature test macros: make _GNU_SOURCE enable everything 2012-12-03 16:57:01 -05:00
statfs.h default features: make musl usable without feature test macros 2012-09-07 23:13:55 -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
sysctl.h
sysinfo.h
syslog.h
sysmacros.h sysmacros major/minor: result should have type unsigned int, not dev_t 2012-09-08 02:42:27 -04:00
time.h add obsolete futimesat() 2012-12-06 20:27:54 +01:00
timerfd.h add missing flags in sys/timerfd.h 2012-12-13 14:15:11 -05:00
times.h
timex.h add MOD_TAI to sys/timex.h and update STA_RONLY 2013-01-12 19:42:39 +01:00
types.h default features: make musl usable without feature test macros 2012-09-07 23:13:55 -04:00
ucontext.h
uio.h fix up lfs64 junk for preadv/pwritev 2012-09-09 16:33:47 -04:00
un.h
user.h
utsname.h default features: make musl usable without feature test macros 2012-09-07 23:13:55 -04:00
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