pkey_free on score
allocate or free a protection key
sys_pkey_free(int pkey)
| number | 290 (0x122) |
|---|---|
| abi | common |
| family | pkeys see the whole family on score |
| entry point | sys_pkey_free |
| since | Linux 4.9 |
| man page | pkey_free(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 290, the syscall number |
r4 | int pkey |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 331
- x86 382
- arm64 290
- arm 396
- riscv64 290
- ia32 382
- x32 1073742155
- loongarch64 290
- ppc64 385
- ppc 385
- s390x 386
- mips64 5325
- mipsn32 6329
- mipso32 4365
- alpha 526
- arc 290
- csky 290
- hexagon 290
- ia64 1356, removed in 6.7
- m68k 383
- metag 290, removed in 4.17
- microblaze 397
- nds32 290, removed in 5.18
- nios2 290
- openrisc 290
- parisc 353
- sh 386
- sparc 364
- sparc64 364
- tilegx 290, removed in 4.17
- tilepro 290, removed in 4.17
- xtensa 350
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/pkey_free?kernel=all