Home
last modified time | relevance | path

Searched refs:filter_off (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/include/linux/
Dseccomp.h99 unsigned long filter_off, void __user *data);
101 unsigned long filter_off, void __user *data);
109 unsigned long filter_off, in seccomp_get_metadata() argument
/Linux-v5.4/kernel/
Dseccomp.c1447 unsigned long filter_off) in get_nth_filter() argument
1471 if (filter_off >= count) { in get_nth_filter()
1476 count -= filter_off; in get_nth_filter()
1492 long seccomp_get_filter(struct task_struct *task, unsigned long filter_off, in seccomp_get_filter() argument
1504 filter = get_nth_filter(task, filter_off); in seccomp_get_filter()
1544 if (size < sizeof(kmd.filter_off)) in seccomp_get_metadata()
1547 if (copy_from_user(&kmd.filter_off, data, sizeof(kmd.filter_off))) in seccomp_get_metadata()
1550 filter = get_nth_filter(task, kmd.filter_off); in seccomp_get_metadata()
/Linux-v5.4/include/uapi/linux/
Dptrace.h72 __u64 filter_off; /* Input: which filter */ member
/Linux-v5.4/tools/testing/selftests/seccomp/
Dseccomp_bpf.c159 __u64 filter_off; /* Input: which filter */ member
3041 md.filter_off = 0; in TEST()
3050 EXPECT_EQ(md.filter_off, 0); in TEST()
3052 md.filter_off = 1; in TEST()
3056 EXPECT_EQ(md.filter_off, 1); in TEST()