syscall.sh / arc / syslog

syslog

read and/or clear kernel message ring buffer; set console_loglevel

sys_syslog(int type, char *buf, int len)
number116 (0x74)
abicommon
entry pointsys_syslog
sinceLinux 3.9
man pagesyslog(2)
sourceelixir.bootlin.com

Registers

registervalue
r8116, the syscall number
r0int type
r1char *buf
r2int len
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arc/syslog