]> git.ipfire.org Git - thirdparty/systemd.git/commit
seccomp: always handle seccomp_load() failing the same way
authorLennart Poettering <lennart@poettering.net>
Thu, 5 Oct 2017 09:24:51 +0000 (11:24 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 5 Oct 2017 09:27:34 +0000 (11:27 +0200)
commit1c6af69b2d25af90e210bc21cc378fb4a6c96316
tree001e8d7494ec2892d5ee520897617e5119d56903
parentff217dc3afe95504e48aeb8d8ad7fb7f53ce9cb1
seccomp: always handle seccomp_load() failing the same way

Unfortunately libseccomp doesn't return (nor document) clean error
codes, hence until then only check for specific error codes that we
propagate, but ignore (but debug log) all others. Do this at one more
place, we are already doing that at all others.
src/shared/seccomp-util.c