syscall.sh / s390x / access

access

check user's permissions for a file

sys_access(const char *filename, int mode)
number33 (0x21)
abicommon
entry pointsys_access
sinceLinux 4.16
man pageaccess(2)
sourceelixir.bootlin.com

Registers

registervalue
r133, the syscall number
r2const char *filename
r3int mode
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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