kcmp on blackfin

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)
number383 (0x17f)
abicommon
kconfigCONFIG_KCMP
entry pointsys_kcmp
sinceLinux 4.1
man pagekcmp(2)
sourceelixir.bootlin.com

Registers

registervalue
P0383, the syscall number
R0pid_t pid1
R1pid_t pid2
R2int type
R3unsigned long idx1
R4unsigned long idx2
R0the return value

Then run excpt 0 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/blackfin/kcmp?kernel=all