add new membarrier, userfaultfd and switch_endian syscalls

new in linux v4.3 added for aarch64, arm, i386, mips, or1k, powerpc,
x32 and x86_64.

membarrier is a system wide memory barrier, moves most of the
synchronization cost to one side, new in kernel commit
5b25b13ab08f616efd566347d809b4ece54570d1

userfaultfd is useful for qemu and is new in kernel commit
8d2afd96c20316d112e04d935d9e09150e988397

switch_endian is powerpc only for switching endianness, new in commit
529d235a0e190ded1d21ccc80a73e625ebcad09b
This commit is contained in:
Szabolcs Nagy
2015-11-18 23:31:37 +00:00
committed by Rich Felker
parent 37bfb68f68
commit 09001a8f97
8 changed files with 34 additions and 0 deletions

View File

@ -364,6 +364,9 @@
#define __NR_memfd_create 360
#define __NR_bpf 361
#define __NR_execveat 362
#define __NR_switch_endian 363
#define __NR_userfaultfd 364
#define __NR_membarrier 365
/*
* repeated with SYS prefix
@ -734,3 +737,6 @@
#define SYS_memfd_create 360
#define SYS_bpf 361
#define SYS_execveat 362
#define SYS_switch_endian 363
#define SYS_userfaultfd 364
#define SYS_membarrier 365