syscall.sh / m68k / access

access

check user's permissions for a file

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

Registers

registervalue
d033, the syscall number
d1const char *filename
d2int mode
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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