kcmp on cris

compare two processes to determine if they share a kernel resource

sys_kcmp(pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2)
number350 (0x15e)
abicommon
kconfigCONFIG_KCMP
entry pointsys_kcmp
sinceLinux 3.14
man pagekcmp(2)
sourceelixir.bootlin.com

Registers

registervalue
r9350, the syscall number
r10pid_t pid1
r11pid_t pid2
r12int type
r13unsigned long idx1
mofunsigned long idx2
r10the return value

Then run break 13 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/cris/kcmp?kernel=all