Re: [PATCH v3 4/4] tests: test seccomp filter notifications

2020-06-01 Thread Kees Cook
On Sun, May 31, 2020 at 01:50:31PM +0200, Christian Brauner wrote: > This verifies we're correctly notified when a seccomp filter becomes > unused when a notifier is in use. > > Signed-off-by: Christian Brauner > --- > /* v2 */ > unchanged > > /* v3 */ > At first it seemed sensible to add

[PATCH v3 4/4] tests: test seccomp filter notifications

2020-05-31 Thread Christian Brauner
This verifies we're correctly notified when a seccomp filter becomes unused when a notifier is in use. Signed-off-by: Christian Brauner --- /* v2 */ unchanged /* v3 */ At first it seemed sensible to add POLLHUP to all poll invocations but all checks test for revents to be equal to POLLIN.