]> code.ossystems Code Review - openembedded-core.git/commit
systemd: fix a test-seccomp build issue
authorMing Liu <liu.ming50@gmail.com>
Sat, 28 Dec 2019 13:18:02 +0000 (14:18 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Jan 2020 16:38:54 +0000 (16:38 +0000)
commite0e7a6a8b4041d858e6a5f0e7d32f5df38ac53c5
tree36bd7e43bf8ddec2514ee6e10c1a65aaeb3d2a96
parent08a77b751a07389cf97342b210472be8ebcd8c9d
systemd: fix a test-seccomp build issue

Fix a following compiling issue when seccomp is enabled by
PACKAGECONFIG:
| ../test-seccomp.c: In function 'test_protect_sysctl':
| ../test-seccomp.c:307:5: error: "__NR__sysctl" is not defined, evaluates to 0 [-Werror=undef]
|  307 | #if __NR__sysctl > 0
|      |     ^~~~~~~~~~~~

Reference:
https://github.com/systemd/systemd/pull/14032

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/systemd/systemd/0001-seccomp-more-comprehensive-protection-against-libsec.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd_243.2.bb