History log of /seL4-refos-master/libs/libmuslc/src/fcntl/posix_fadvise.c
Revision Date Author Comments
# 3dd27f3a 01-Jul-2016 Rich Felker <dalias@aerifal.cx>

fix posix_fadvise syscall args on powerpc, unify with arm fix

commit 6d38c9cf80f47623e5e48190046673bbd0dc410b provided an
arm-specific version of posix_fadvise to address the alternate
argument order the kernel expects on arm, but neglected to address
that powerpc (32-bit) has the same issue. instead of having arch
variant files in duplicate, simply put the alternate version in the
top-level file under the control of a macro defined in syscall_arch.h.


# 804debee 29-Jun-2016 Rich Felker <dalias@aerifal.cx>

in posix_fadvise, don't bypass __syscall macro infrastructure

when commit 0b6eb2dfb2e84a8a51906e7634f3d5edc230b058 added the
parentheses around __syscall to invoke the function directly, there
was no __syscall7 in the syscall macro infrastructure, so this hack
was needed. commit 9a3bbce447403d735282586786dc436ec1ffbad4 fixed that
but failed to remove the hack.


# 1e7a581a 06-Jan-2014 Rich Felker <dalias@aerifal.cx>

add some missing LFS64 aliases for fadvise/fallocate functions


# 0b6eb2df 21-Sep-2011 Rich Felker <dalias@aerifal.cx>

update syscalls with off_t arguments to handle argument alignment, if needed

the arm syscall abi requires 64-bit arguments to be aligned on an even
register boundary. these new macros facilitate meeting the abi
requirement without imposing significant ugliness on the code.


# 1c76683c 20-Apr-2011 Rich Felker <dalias@aerifal.cx>

add syscall wrappers for posix_fadvise, posix_fallocate