getresuid on score
get real, effective, and saved user/group IDs
sys_getresuid(uid_t *ruid, uid_t *euid, uid_t *suid)
| number | 148 (0x94) |
|---|---|
| abi | common |
| entry point | sys_getresuid |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | getresuid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 148, 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 118
- x86 165
- arm64 148
- arm 165
- riscv64 148
- ia32 165
- x32 1073741942
- loongarch64 148
- ppc64 165
- ppc 165
- s390x 209
- mips64 5116
- mipsn32 6116
- mipso32 4186
- alpha 344
- arc 148
- blackfin 165, removed in 4.17
- cris 165, removed in 4.17
- csky 148
- frv 165, removed in 4.17
- hexagon 148
- ia64 1073, removed in 6.7
- m68k 165
- metag 148, removed in 4.17
- microblaze 165
- mn10300 165, removed in 4.17
- nds32 148, removed in 5.18
- nios2 148
- openrisc 148
- parisc 165
- sh 165
- sparc64 109
- tilegx 148, removed in 4.17
- tilepro 148, removed in 4.17
- xtensa 145
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/getresuid?kernel=all