]> git.ipfire.org Git - thirdparty/systemd.git/commit
seccomp: real syscall numbers are >= 0
authorMike Gilbert <floppym@gentoo.org>
Fri, 6 Dec 2019 19:28:13 +0000 (14:28 -0500)
committerLennart Poettering <lennart@poettering.net>
Mon, 9 Dec 2019 10:29:06 +0000 (11:29 +0100)
commitfb4b0465abbd96e6d342e5606c61c919c99a82ff
treef34ecbd57ff10e2adc5ac1d78fa1bc18dcded190
parent0cab1f197647208ba22948dbfbbc7adcf6787d79
seccomp: real syscall numbers are >= 0

Real syscall numbers start at 0. The fake seccomp values seem to be
strictly less than 0.

Fixes: 4df8fe8415eaf4abd5b93c3447452547c6ea9e5f
src/basic/missing_syscall.h
src/test/test-seccomp.c