syscall.sh / ppc / syslog

syslog

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

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

Registers

registervalue
r0103, the syscall number
r3int type
r4char *buf
r5int len
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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