syscall.sh / x86 / setfsuid

setfsuid

set user identity used for filesystem checks

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

Registers

registervalue
eax138, the syscall number
ebxold_uid_t uid
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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