merge newfstat variants
[trinity.git] / syscalls / kcmp.c
blob175dbd14018bf134aee2b6f35d5118562c2ce28b
1 /*
2 * SYSCALL_DEFINE5(kcmp, pid_t, pid1, pid_t, pid2, int, type,
3 * unsigned long, idx1, unsigned long, idx2)
5 */
6 #include "sanitise.h"
7 #include "compat.h"
9 struct syscallentry syscall_kcmp = {
10 .name = "kcmp",
11 .num_args = 5,
12 .arg1name = "pid1",
13 .arg1type = ARG_PID,
14 .arg2name = "pid2",
15 .arg2type = ARG_PID,
16 .arg3name = "type",
17 .arg3type = ARG_OP,
18 .arg3list = {
19 .num = KCMP_TYPES,
20 .values = { KCMP_FILE, KCMP_VM, KCMP_FILES, KCMP_FS, KCMP_SIGHAND, KCMP_IO, KCMP_SYSVSEM },
22 .arg4name = "idx1",
23 .arg5name = "idx2",