getrandom on blackfin

obtain a series of random bytes

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

Registers

registervalue
P0389, the syscall number
R0char *buf
R1size_t count
R2unsigned int flags
R0the return value

Then run excpt 0 to enter the kernel.

This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/blackfin/getrandom?kernel=all