mirror of
git://git.musl-libc.org/musl
synced 2025-03-05 03:07:29 +00:00
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
This commit is contained in:
parent
91f15e2d0d
commit
f90fafea3c
@ -339,6 +339,7 @@
|
||||
#define __NR_seccomp 383
|
||||
#define __NR_getrandom 384
|
||||
#define __NR_memfd_create 385
|
||||
#define __NR_bpf 386
|
||||
|
||||
#define __ARM_NR_breakpoint 0x0f0001
|
||||
#define __ARM_NR_cacheflush 0x0f0002
|
||||
@ -689,3 +690,4 @@
|
||||
#define SYS_seccomp 383
|
||||
#define SYS_getrandom 384
|
||||
#define SYS_memfd_create 385
|
||||
#define SYS_bpf 386
|
||||
|
@ -355,6 +355,7 @@
|
||||
#define __NR_seccomp 354
|
||||
#define __NR_getrandom 355
|
||||
#define __NR_memfd_create 356
|
||||
#define __NR_bpf 357
|
||||
|
||||
|
||||
/* Repeated with SYS_ prefix */
|
||||
@ -716,3 +717,4 @@
|
||||
#define SYS_seccomp 354
|
||||
#define SYS_getrandom 355
|
||||
#define SYS_memfd_create 356
|
||||
#define SYS_bpf 357
|
||||
|
@ -381,6 +381,7 @@
|
||||
#define __NR_seccomp 384
|
||||
#define __NR_getrandom 385
|
||||
#define __NR_memfd_create 386
|
||||
#define __NR_bpf 387
|
||||
|
||||
/* Repeated with SYS_ prefix */
|
||||
|
||||
@ -768,3 +769,4 @@
|
||||
#define SYS_seccomp 384
|
||||
#define SYS_getrandom 385
|
||||
#define SYS_memfd_create 386
|
||||
#define SYS_bpf 387
|
||||
|
@ -352,6 +352,7 @@
|
||||
#define __NR_seccomp 4352
|
||||
#define __NR_getrandom 4353
|
||||
#define __NR_memfd_create 4354
|
||||
#define __NR_bpf 4355
|
||||
|
||||
|
||||
/* Repeated with SYS_ prefix */
|
||||
@ -709,3 +710,4 @@
|
||||
#define SYS_seccomp 4352
|
||||
#define SYS_getrandom 4353
|
||||
#define SYS_memfd_create 4354
|
||||
#define SYS_bpf 4355
|
||||
|
@ -263,6 +263,7 @@
|
||||
#define __NR_seccomp 277
|
||||
#define __NR_getrandom 278
|
||||
#define __NR_memfd_create 279
|
||||
#define __NR_bpf 280
|
||||
|
||||
#define SYS_io_setup __NR_io_setup
|
||||
#define SYS_io_destroy __NR_io_destroy
|
||||
@ -529,3 +530,4 @@
|
||||
#define SYS_seccomp __NR_seccomp
|
||||
#define SYS_getrandom __NR_getrandom
|
||||
#define SYS_memfd_create __NR_memfd_create
|
||||
#define SYS_bpf __NR_bpf
|
||||
|
@ -374,6 +374,7 @@
|
||||
#define __NR_seccomp 358
|
||||
#define __NR_getrandom 359
|
||||
#define __NR_memfd_create 360
|
||||
#define __NR_bpf 361
|
||||
|
||||
/*
|
||||
* repeated with SYS prefix
|
||||
@ -754,3 +755,4 @@
|
||||
#define SYS_seccomp 358
|
||||
#define SYS_getrandom 359
|
||||
#define SYS_memfd_create 360
|
||||
#define SYS_bpf 361
|
||||
|
@ -277,6 +277,8 @@
|
||||
#define __NR_seccomp (__X32_SYSCALL_BIT + 317)
|
||||
#define __NR_getrandom (__X32_SYSCALL_BIT + 318)
|
||||
#define __NR_memfd_create (__X32_SYSCALL_BIT + 319)
|
||||
#define __NR_kexec_file_load (__X32_SYSCALL_BIT + 320)
|
||||
#define __NR_bpf (__X32_SYSCALL_BIT + 321)
|
||||
|
||||
#define __NR_rt_sigaction (__X32_SYSCALL_BIT + 512)
|
||||
#define __NR_rt_sigreturn (__X32_SYSCALL_BIT + 513)
|
||||
@ -604,6 +606,8 @@
|
||||
#define SYS_seccomp __NR_seccomp
|
||||
#define SYS_getrandom __NR_getrandom
|
||||
#define SYS_memfd_create __NR_memfd_create
|
||||
#define SYS_kexec_file_load __NR_kexec_file_load
|
||||
#define SYS_bpf __NR_bpf
|
||||
|
||||
#define SYS_rt_sigaction __NR_rt_sigaction
|
||||
#define SYS_rt_sigreturn __NR_rt_sigreturn
|
||||
|
@ -318,6 +318,8 @@
|
||||
#define __NR_seccomp 317
|
||||
#define __NR_getrandom 318
|
||||
#define __NR_memfd_create 319
|
||||
#define __NR_kexec_file_load 320
|
||||
#define __NR_bpf 321
|
||||
|
||||
|
||||
#undef __NR_fstatat
|
||||
@ -654,6 +656,8 @@
|
||||
#define SYS_seccomp 317
|
||||
#define SYS_getrandom 318
|
||||
#define SYS_memfd_create 319
|
||||
#define SYS_kexec_file_load 320
|
||||
#define SYS_bpf 321
|
||||
|
||||
#undef SYS_fstatat
|
||||
#undef SYS_pread
|
||||
|
Loading…
Reference in New Issue
Block a user