ltp
ltp copied to clipboard
Add tests for seccomp() syscall
We do have some of the seccomp() functionality covered in prctl() tests, but we have no test that would test the seccomp() syscall itself and there is no coverage for the user space notification.
There is a nice example to be added to manual pages here:
https://lwn.net/Articles/833128/
I'm taking on this task.
Note from #290: The seccomp call gained support for userspace notifications see: https://lwn.net/Articles/776035/#userspace
checking.
https://patchwork.ozlabs.org/project/ltp/patch/[email protected]/
This need v2 version, i will continue work on this.
I'm wondering if we need this, since kselftests already have an extensive testing suite around eBPF seccomp()
filtering and prctl()
testing suite has already tests for it.
So i hold my action.