[LTP] [PATCH v2 3/4] syscalls/prctl04: Allow rt_sigprocmask in the syscall filter
Cyril Hrubis
chrubis@suse.cz
Tue Aug 23 15:24:31 CEST 2022
Hi!
> > Some libcs (e.g. Musl) call rt_sigprocmask as part of their fork
> > implementation. To successfully call fork, rt_sigprocmask must be allowed
> > as well in the filter.
>
> When tested on lastest update Alpine with 1.2.3 it in both cases fails:
>
> prctl04.c:205: TPASS: SECCOMP_MODE_FILTER doesn't permit exit()
> prctl04.c:207: TFAIL: SECCOMP_MODE_FILTER doesn't permit exit()
>
> What can be wrong?
And does the test work without the patch?
As far as I can tell the change to the bpf is correct and shouldn't
affect anything, it just allows one more syscall to be called.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list