capset on score
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 or earlier (3.7 is the first release scanned for score) |
| man page | capset(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 91, the syscall number |
r4 | cap_user_header_t header |
r5 | const cap_user_data_t data |
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 126
- x86 185
- arm64 91
- arm 185
- riscv64 91
- ia32 185
- x32 1073741950
- loongarch64 91
- ppc64 184
- ppc 184
- s390x 185
- mips64 5124
- mipsn32 6124
- mipso32 4205
- alpha 369
- arc 91
- blackfin 185, removed in 4.17
- cris 185, removed in 4.17
- csky 91
- frv 185, removed in 4.17
- hexagon 91
- ia64 1186, removed in 6.7
- m32r 185, removed in 4.17
- m68k 185
- metag 91, removed in 4.17
- microblaze 185
- mn10300 185, removed in 4.17
- nds32 91, removed in 5.18
- nios2 91
- openrisc 91
- parisc 107
- sh 185
- sparc 22
- sparc64 22
- tilegx 91, removed in 4.17
- tilepro 91, removed in 4.17
- xtensa 159
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/capset?kernel=all