syscall.sh / m68k / getrandom

getrandom

obtain a series of random bytes

sys_getrandom(char *buf, size_t count, unsigned int flags)
number352 (0x160)
abicommon
entry pointsys_getrandom
sinceLinux 5.0
man pagegetrandom(2)
sourceelixir.bootlin.com

Registers

registervalue
d0352, the syscall number
d1char *buf
d2size_t count
d3unsigned int flags
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/getrandom