libseccomp icon indicating copy to clipboard operation
libseccomp copied to clipboard

RFE: add the SCMP_FLTATR_CTL_WAITKILL filter attribute

Open pcmoore opened this issue 3 years ago • 3 comments

The SCMP_FLTATR_CTL_WAITKILL attribute requests that the SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV flag be passed to the seccomp(2) system call when possible, which is currently only when the SECCOMP_FILTER_FLAG_NEW_LISTENER flag is also set.

Resolves #387

pcmoore avatar Sep 22 '22 02:09 pcmoore

Coverage Status

Coverage increased (+0.03%) to 89.71% when pulling 1bcbe5d2a7404f9807739e4dfc98c2ffbf7778dc on pcmoore:gh-387 into e797591bdd6834272e2db292400f608ed9bd7fab on seccomp:main.

coveralls avatar Sep 22 '22 02:09 coveralls

Hold off on reviewing/ACK'ing this PR, I had a thought this morning that we might also need to bump the API level for this; I'll check that and update this PR later today (hopefully).

pcmoore avatar Sep 22 '22 12:09 pcmoore

Okay, fixed. I added API level 7 to match with the new flag.

pcmoore avatar Sep 22 '22 15:09 pcmoore

Thanks, @pcmoore

drakenclimber avatar Oct 21 '22 19:10 drakenclimber

Pushed to main in commit 96989965042a. Thanks, @pcmoore

drakenclimber avatar Oct 31 '22 19:10 drakenclimber

Thanks @drakenclimber, I've had limited network access the past few weeks but things should be getting back to normal next week ... once I get caught up ;)

pcmoore avatar Nov 05 '22 11:11 pcmoore

Thanks @drakenclimber, I've had limited network access the past few weeks but things should be getting back to normal next week ... once I get caught up ;)

@pcmoore, No worries. Let me know if you need any help or there's anything you want me to pick up.

drakenclimber avatar Nov 07 '22 19:11 drakenclimber