syscall.sh / nios2 / 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.19
man pagesyslog(2)
sourceelixir.bootlin.com

Registers

registervalue
r2116, the syscall number
r4int type
r5char *buf
r6int len
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

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