musl/src/linux
rofl0r dae8ca738c x32: fix sysinfo()
the kernel uses long longs in the struct, but the documentation
says they're long. so we need to fixup the mismatch between the
userspace and kernelspace structs.
since the struct offers a mem_unit member, we can avoid truncation
by adjusting that value.
2014-03-06 05:35:13 +01:00
..
x32 x32: fix sysinfo() 2014-03-06 05:35:13 +01:00
adjtime.c implement the adjtime and adjtimex functions (nonstandard) 2011-04-05 15:38:20 -04:00
adjtimex.c implement the adjtime and adjtimex functions (nonstandard) 2011-04-05 15:38:20 -04:00
arch_prctl.c remove __arch_prctl alias for arch_prctl 2012-12-07 16:22:13 -05:00
brk.c disable the brk function 2014-01-02 17:13:19 -05:00
cache.c mips cache flush/ctl syscall support and header 2012-11-04 17:06:31 -05:00
cap.c add deprecated capabilities functions 2012-06-13 11:04:31 -04:00
chroot.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
clock_adjtime.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
clone.c clone: make clone a wrapper around __clone 2014-02-09 20:07:43 -06:00
epoll.c remove __SYSCALL_SSLEN arch macro in favor of using public _NSIG 2013-03-26 23:07:31 -04:00
eventfd.c cleanup src/linux and src/misc trees, etc. 2012-09-07 00:48:25 -04:00
fallocate.c add some missing LFS64 aliases for fadvise/fallocate functions 2014-01-06 21:31:17 -05:00
fanotify.c fanotify.c: fix typo in header inclusion 2014-01-03 11:29:57 +01:00
flock.c add syscall wrapper for flock 2011-04-13 14:55:26 -04:00
inotify.c fix incorrect type for wd argument of inotify_rm_watch 2014-01-07 02:41:27 -05:00
ioperm.c add port io functions to sys/io.h 2012-11-18 19:31:58 -05:00
iopl.c add port io functions to sys/io.h 2012-11-18 19:31:58 -05:00
klogctl.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
module.c add init_module/delete_module syscall wrappers 2012-06-13 11:49:22 -04:00
mount.c cleanup src/linux and src/misc trees, etc. 2012-09-07 00:48:25 -04:00
personality.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
pivot_root.c add pivot_root syscall wrapper 2011-04-05 12:32:10 -04:00
ppoll.c remove __SYSCALL_SSLEN arch macro in favor of using public _NSIG 2013-03-26 23:07:31 -04:00
prctl.c fix missing va_end in prctl syscall wrapper 2011-09-27 16:47:00 -04:00
prlimit.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
process_vm.c add process_vm_readv and process_vm_writev syscall wrappers 2012-06-23 21:38:47 -04:00
ptrace.c cleanup src/linux and src/misc trees, etc. 2012-09-07 00:48:25 -04:00
quotactl.c add sys/quota.h and quotactl syscall wrapper 2013-12-20 11:52:10 -05:00
readahead.c add linux readahead syscall 2012-09-08 00:40:37 -04:00
reboot.c fix broken reboot wrapper (syscall needs extra silly magic arguments...) 2011-12-23 19:13:48 -05:00
remap_file_pages.c fix signedness of pgoff argument to remap_file_pages 2014-01-07 02:58:28 -05:00
sbrk.c disable sbrk for all values of increment except 0 2014-01-02 17:03:34 -05:00
sendfile.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
setfsgid.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
setfsuid.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
setgroups.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
sethostname.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
setns.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
settimeofday.c fix the prototype of settimeofday to follow the original BSD declaration 2013-05-26 16:01:38 +00:00
signalfd.c fix signalfd not to ignore flags 2013-04-07 23:19:00 -04:00
splice.c add splice and vmsplice syscalls 2012-07-23 16:50:56 -04:00
stime.c fix const-correctness of argument to stime 2014-01-07 03:02:14 -05:00
swap.c cleanup src/linux and src/misc trees, etc. 2012-09-07 00:48:25 -04:00
sync_file_range.c reenable sync_file_range; should no longer break on mips 2012-09-09 14:58:55 -04:00
syncfs.c add clock_adjtime, remap_file_pages, and syncfs syscall wrappers 2012-09-16 22:26:23 -04:00
sysinfo.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
tee.c add linux tee syscall 2012-09-08 01:03:01 -04:00
timerfd.c add timerfd interfaces (untested) 2012-09-08 00:21:02 -04:00
unshare.c add linux-specific unshare syscall wrapper 2012-04-29 19:54:03 -04:00
utimes.c fix typo in utimes function that made it mess up file times 2012-05-21 23:55:36 -04:00
vhangup.c add vhangup syscall wrapper 2012-06-19 15:32:13 -04:00
vmsplice.c add splice and vmsplice syscalls 2012-07-23 16:50:56 -04:00
wait3.c cleanup cruft left from when kernel and user time_t disagreed 2011-02-19 02:28:42 -05:00
wait4.c include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
xattr.c add missing xattr functions 2012-08-15 08:31:44 -04:00