ltp icon indicating copy to clipboard operation
ltp copied to clipboard

Add tests for seccomp() syscall

Open metan-ucw opened this issue 4 years ago • 7 comments

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/

metan-ucw avatar Oct 02 '20 09:10 metan-ucw

I'm taking on this task.

treedavies avatar Dec 22 '20 17:12 treedavies

Note from #290: The seccomp call gained support for userspace notifications see: https://lwn.net/Articles/776035/#userspace

pevik avatar Dec 29 '20 20:12 pevik

checking.

coolgw avatar Sep 17 '23 10:09 coolgw

https://patchwork.ozlabs.org/project/ltp/patch/[email protected]/

coolgw avatar Sep 21 '23 02:09 coolgw

This need v2 version, i will continue work on this.

coolgw avatar May 28 '24 12:05 coolgw

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.

acerv avatar May 29 '24 12:05 acerv

So i hold my action.

coolgw avatar Jun 03 '24 07:06 coolgw