syscall.sh / arm64 / capset
capset
set/get capabilities of thread(s)
sys_capset(cap_user_header_t header, const cap_user_data_t data)
| number | 91 (0x5b) |
|---|---|
| abi | common |
| entry point | sys_capset |
| since | Linux 3.7 |
| man page | capset(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
x8 | 91, the syscall number |
x0 | cap_user_header_t header |
x1 | const cap_user_data_t data |
x0 | the return value |
Then run svc #0 to enter the kernel.
Same syscall on other architectures
- x64 126
- x86 185
- arm 185
- riscv64 91
- x32 1073741950
- loongarch64 91
- ppc64 184
- ppc 184
- s390x 185
- mips64 5124
- mipsn32 6124
- mipso32 4205
- alpha 369
- arc 91
- csky 91
- hexagon 91
- m68k 185
- microblaze 185
- nios2 91
- openrisc 91
- parisc 107
- sh 185
- sparc 22
- sparc64 22
- xtensa 159
Get this as JSON: https://api.syscall.sh/v2/syscalls/arm64/capset