syscall.sh / sparc64 / pkey_free
pkey_free
allocate or free a protection key
sys_pkey_free(int pkey)
| number | 364 (0x16c) |
|---|---|
| abi | common |
| entry point | sys_pkey_free |
| since | Linux 5.1 |
| man page | pkey_free(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 364, the syscall number |
o0 | int pkey |
o0 | the return value |
Then run t 0x6d to enter the kernel.
Same syscall on other architectures
- x64 331
- x86 382
- arm64 290
- arm 396
- riscv64 290
- x32 1073742155
- loongarch64 290
- ppc64 385
- ppc 385
- s390x 386
- mips64 5325
- mipsn32 6329
- mipso32 4365
- alpha 526
- arc 290
- csky 290
- hexagon 290
- m68k 383
- microblaze 397
- nios2 290
- openrisc 290
- parisc 353
- sh 386
- sparc 364
- xtensa 350
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/pkey_free