add mlock2 syscall number from linux v4.4

this is mlock with a flags argument, new in linux commit
a8ca5d0ecbdde5cc3d7accacbd69968b0c98764e

as usual microblaze and sh don't have allocated syscall number yet.
This commit is contained in:
Szabolcs Nagy 2016-01-23 23:16:14 +00:00 committed by Rich Felker
parent aaa604052d
commit 51d5f139ca
8 changed files with 16 additions and 0 deletions

View File

@ -267,6 +267,7 @@
#define __NR_execveat 281
#define __NR_userfaultfd 282
#define __NR_membarrier 283
#define __NR_mlock2 284
#define SYS_io_setup __NR_io_setup
#define SYS_io_destroy __NR_io_destroy
@ -537,3 +538,4 @@
#define SYS_execveat __NR_execveat
#define SYS_userfaultfd __NR_userfaultfd
#define SYS_membarrier __NR_membarrier
#define SYS_mlock2 __NR_mlock2

View File

@ -343,6 +343,7 @@
#define __NR_execveat 387
#define __NR_userfaultfd 388
#define __NR_membarrier 389
#define __NR_mlock2 390
#define __ARM_NR_breakpoint 0x0f0001
#define __ARM_NR_cacheflush 0x0f0002
@ -697,3 +698,4 @@
#define SYS_execveat 387
#define SYS_userfaultfd 388
#define SYS_membarrier 389
#define SYS_mlock2 390

View File

@ -374,6 +374,7 @@
#define __NR_shutdown 373
#define __NR_userfaultfd 374
#define __NR_membarrier 375
#define __NR_mlock2 376
/* Repeated with SYS_ prefix */
@ -754,3 +755,4 @@
#define SYS_shutdown 373
#define SYS_userfaultfd 374
#define SYS_membarrier 375
#define SYS_mlock2 376

View File

@ -356,6 +356,7 @@
#define __NR_execveat 4356
#define __NR_userfaultfd 4357
#define __NR_membarrier 4358
#define __NR_mlock2 4359
/* Repeated with SYS_ prefix */
@ -717,3 +718,4 @@
#define SYS_execveat 4356
#define SYS_userfaultfd 4357
#define SYS_membarrier 4358
#define SYS_mlock2 4359

View File

@ -267,6 +267,7 @@
#define __NR_execveat 281
#define __NR_userfaultfd 282
#define __NR_membarrier 283
#define __NR_mlock2 284
#define SYS_io_setup __NR_io_setup
#define SYS_io_destroy __NR_io_destroy
@ -537,3 +538,4 @@
#define SYS_execveat __NR_execveat
#define SYS_userfaultfd __NR_userfaultfd
#define SYS_membarrier __NR_membarrier
#define SYS_mlock2 __NR_mlock2

View File

@ -367,6 +367,7 @@
#define __NR_switch_endian 363
#define __NR_userfaultfd 364
#define __NR_membarrier 365
#define __NR_mlock2 378
/*
* repeated with SYS prefix
@ -740,3 +741,4 @@
#define SYS_switch_endian 363
#define SYS_userfaultfd 364
#define SYS_membarrier 365
#define SYS_mlock2 378

View File

@ -279,6 +279,7 @@
#define __NR_bpf (__X32_SYSCALL_BIT + 321)
#define __NR_userfaultfd (__X32_SYSCALL_BIT + 323)
#define __NR_membarrier (__X32_SYSCALL_BIT + 324)
#define __NR_mlock2 (__X32_SYSCALL_BIT + 325)
#define __NR_rt_sigaction (__X32_SYSCALL_BIT + 512)
#define __NR_rt_sigreturn (__X32_SYSCALL_BIT + 513)
@ -611,6 +612,7 @@
#define SYS_bpf __NR_bpf
#define SYS_userfaultfd __NR_userfaultfd
#define SYS_membarrier __NR_membarrier
#define SYS_mlock2 __NR_mlock2
#define SYS_rt_sigaction __NR_rt_sigaction

View File

@ -323,6 +323,7 @@
#define __NR_execveat 322
#define __NR_userfaultfd 323
#define __NR_membarrier 324
#define __NR_mlock2 325
@ -653,3 +654,4 @@
#define SYS_execveat 322
#define SYS_userfaultfd 323
#define SYS_membarrier 324
#define SYS_mlock2 325