Skip to content
Commit bc895522 authored by Richard Purdie's avatar Richard Purdie
Browse files

pseudo: Force seccomp to return success when in fact doing nothing



Pseudo changes the syscall access patterns which makes it incompatible with
seccomp. Therefore intercept the seccomp syscall and alter it, pretending that
seccomp was setup when in fact we do nothing. If we error as unsupported,
utilities like file will exit with errors so we can't just disable it.

This works around issues on platforms where seccomp is enabled in file
(e.g. archlinux).

Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent c42cec0c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment