aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/bits/syscall.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* add syscall numbers for the new execveat syscall•••this syscall allows fexecve to be implemented without /proc, it is new in linux v3.19, added in commit 51f39a1f0cea1cacf8c787f652f26dfee9611874 (sh and microblaze do not have allocated syscall numbers yet) added a x32 fix as well: the io_setup and io_submit syscalls are no longer common with x86_64, so use the x32 specific numbers. Szabolcs Nagy2015-02-091-0/+2
* add new syscall numbers for bpf and kexec_file_load•••these syscalls are new in linux v3.18, bpf is present on all supported archs except sh, kexec_file_load is only allocted for x86_64 and x32 yet. bpf was added in linux commit 99c55f7d47c0dc6fc64729f37bf435abf43f4c60 kexec_file_load syscall number was allocated in commit f0895685c7fd8c938c91a9d8a6f7c11f22df58d2 Szabolcs Nagy2014-12-231-0/+2
* add arm private syscall numbers•••it is part of kernel uapi, and some programs (e.g. nodejs) do use them Timo Teräs2014-12-031-0/+5
* add new syscall numbers for seccomp, getrandom, memfd_create•••these syscalls are new in linux v3.17 and present on all supported archs except sh. seccomp was added in commit 48dc92b9fc3926844257316e75ba11eb5c742b2c it has operation, flags and pointer arguments (if flags==0 then it is the same as prctl(PR_SET_SECCOMP,...)), the uapi header for flag definitions is linux/seccomp.h getrandom was added in commit c6e9d6f38894798696f23c8084ca7edbf16ee895 it provides an entropy source when open("/dev/urandom",..) would fail, the uapi header for flags is linux/random.h memfd_create was added in commit 9183df25fe7b194563db3fec6dc3202a5855839c it allows anon mmap to have an fd, that can be shared, sealed and needs no mount point, the uapi header for flags is linux/memfd.h Szabolcs Nagy2014-10-081-0/+6
* add syscall numbers for the new renameat2 syscall•••it's like rename but with flags eg. to allow atomic exchange of two files, introduced in linux 3.15 commit 520c8b16505236fc82daa352e6c5e73cd9870cff Szabolcs Nagy2014-07-201-0/+2
* add sched_{get,set}attr syscall numbers and SCHED_DEADLINE macro•••linux 3.14 introduced sched_getattr and sched_setattr syscalls in commit d50dde5a10f305253cbc3855307f608f8a3c5f73 and the related SCHED_DEADLINE scheduling policy in commit aab03e05e8f7e26f51dee792beddcb5cca9215a5 but struct sched_attr "extended scheduling parameters data structure" is not yet exported to userspace (necessary for using the syscalls) so related uapi definitions are not added yet. Szabolcs Nagy2014-05-301-0/+4
* add syscall numbers for the new kcmp and finit_module syscalls•••and remove syscall todos from microblaze Szabolcs Nagy2013-04-011-0/+4
* syscall organization overhaul•••now public syscall.h only exposes __NR_* and SYS_* constants and the variadic syscall function. no macros or inline functions, no __syscall_ret or other internal details, no 16-/32-bit legacy syscall renaming, etc. this logic has all been moved to src/internal/syscall.h with the arch-specific parts in arch/$(ARCH)/syscall_arch.h, and the amount of arch-specific stuff has been reduced to a minimum. changes still need to be reviewed/double-checked. minimal testing on i386 and mips has already been performed. Rich Felker2012-09-081-191/+0
* avoid "inline" in public headers for strict c89 compatibility•••while musl itself requires a c99 compiler, some applications insist on being compiled with c89 compilers, and use of "inline" in the headers was breaking them. much of this had been avoided already by just skipping the inline keyword in pre-c99 compilers or modes, but this new unified solution is cleaner and may/should result in better code generation in the default gcc configuration. Rich Felker2012-09-021-7/+7
* add defines for number of sigset_t bytes syscalls expect•••yet another gratuitous mips incompatibility... Rich Felker2012-08-091-0/+2
* make arm syscalls (still non-inline) more efficient•••no need to pass zero for unused arguments; just omit them. Rich Felker2012-07-081-6/+6
* update syscall defs to latest kernel ones•••patch submitted by Kristian L. <email@thexception.net> Rich Felker2012-06-231-0/+4
* fix arm syscall.h to reflect which syscalls actually exist (on EABI)Rich Felker2012-05-241-22/+0
* 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. Rich Felker2011-09-211-1/+2
* initial commit of the arm port•••this port assumes eabi calling conventions, eabi linux syscall convention, and presence of the kernel helpers at 0xffff0f?0 needed for threads support. otherwise it makes very few assumptions, and the code should work even on armv4 without thumb support, as well as on systems with thumb interworking. the bits headers declare this a little endian system, but as far as i can tell the code should work equally well on big endian. some small details are probably broken; so far, testing has been limited to qemu/aboriginal linux. Rich Felker2011-09-181-0/+876