syscall.sh / sh / setfsuid

setfsuid

set user identity used for filesystem checks

sys_setfsuid16(old_uid_t uid)
number138 (0x8a)
abicommon
entry pointsys_setfsuid16
sinceLinux 5.0
man pagesetfsuid(2)
sourceelixir.bootlin.com

Registers

registervalue
r3138, the syscall number
r4old_uid_t uid
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/setfsuid