setresuid on score
set real, effective, and saved user or group ID
sys_setresuid(uid_t ruid, uid_t euid, uid_t suid)
| number | 147 (0x93) |
|---|---|
| abi | common |
| entry point | sys_setresuid |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | setresuid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 147, the syscall number |
r4 | uid_t ruid |
r5 | uid_t euid |
r6 | uid_t suid |
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 117
- x86 164
- arm64 147
- arm 164
- riscv64 147
- ia32 164
- x32 1073741941
- loongarch64 147
- ppc64 164
- ppc 164
- s390x 208
- mips64 5115
- mipsn32 6115
- mipso32 4185
- alpha 343
- arc 147
- blackfin 164, removed in 4.17
- cris 164, removed in 4.17
- csky 147
- frv 164, removed in 4.17
- hexagon 147
- ia64 1074, removed in 6.7
- m68k 164
- metag 147, removed in 4.17
- microblaze 164
- mn10300 164, removed in 4.17
- nds32 147, removed in 5.18
- nios2 147
- openrisc 147
- parisc 164
- sh 164
- sparc64 108
- tilegx 147, removed in 4.17
- tilepro 147, removed in 4.17
- xtensa 144
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/setresuid?kernel=all