diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-03 13:55:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-06 14:25:55 +0100 |
commit | bc895522eb940539a0e3cb6192c4a64f13ca8d6a (patch) | |
tree | 580fb877f347dd677ef04c3aa35d2c1e7b63d396 /scripts | |
parent | c42cec0c1c57c4e67dc7cdb07c5e4aba14a847d3 (diff) | |
download | openembedded-core-contrib-bc895522eb940539a0e3cb6192c4a64f13ca8d6a.tar.gz |
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: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions