syscall.sh / alpha / syslog

syslog

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

sys_syslog(int type, char *buf, int len)
number310 (0x136)
abicommon
entry pointsys_syslog
sinceLinux 5.0
man pagesyslog(2)
sourceelixir.bootlin.com

Registers

registervalue
v0310, the syscall number
a0int type
a1char *buf
a2int len
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

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