Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dseccomp.h108 unsigned long filter_off, void __user *data);
110 unsigned long filter_off, void __user *data);
118 unsigned long filter_off, in seccomp_get_metadata() argument
/Linux-v5.10/kernel/
Dseccomp.c1746 unsigned long filter_off) in get_nth_filter() argument
1770 if (filter_off >= count) { in get_nth_filter()
1775 count -= filter_off; in get_nth_filter()
1791 long seccomp_get_filter(struct task_struct *task, unsigned long filter_off, in seccomp_get_filter() argument
1803 filter = get_nth_filter(task, filter_off); in seccomp_get_filter()
1843 if (size < sizeof(kmd.filter_off)) in seccomp_get_metadata()
1846 if (copy_from_user(&kmd.filter_off, data, sizeof(kmd.filter_off))) in seccomp_get_metadata()
1849 filter = get_nth_filter(task, kmd.filter_off); in seccomp_get_metadata()
/Linux-v5.10/include/uapi/linux/
Dptrace.h72 __u64 filter_off; /* Input: which filter */ member
/Linux-v5.10/tools/testing/selftests/seccomp/
Dseccomp_bpf.c176 __u64 filter_off; /* Input: which filter */ member
3239 md.filter_off = 0; in TEST()
3248 EXPECT_EQ(md.filter_off, 0); in TEST()
3250 md.filter_off = 1; in TEST()
3254 EXPECT_EQ(md.filter_off, 1); in TEST()