diff options
author | Ming Liu <liu.ming50@gmail.com> | 2019-12-28 14:18:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-27 16:48:08 +0000 |
commit | a315a01826726d4e403d987e99cb879b2a97329d (patch) | |
tree | d7cb283a4ebfa43bc2fc327305f19ee4624fdef0 /meta/recipes-core/systemd/systemd_243.2.bb | |
parent | e9e1aa199bd654ee485918bdc2e53df93522b381 (diff) | |
download | poky-a315a01826726d4e403d987e99cb879b2a97329d.tar.gz |
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
(From OE-Core rev: e0e7a6a8b4041d858e6a5f0e7d32f5df38ac53c5)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd_243.2.bb')
-rw-r--r-- | meta/recipes-core/systemd/systemd_243.2.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_243.2.bb b/meta/recipes-core/systemd/systemd_243.2.bb index 5ea9bf2a83..e31fac8c56 100644 --- a/meta/recipes-core/systemd/systemd_243.2.bb +++ b/meta/recipes-core/systemd/systemd_243.2.bb | |||
@@ -23,6 +23,7 @@ SRC_URI += "file://touchscreen.rules \ | |||
23 | file://0004-rules-whitelist-hd-devices.patch \ | 23 | file://0004-rules-whitelist-hd-devices.patch \ |
24 | file://0005-rules-watch-metadata-changes-in-ide-devices.patch \ | 24 | file://0005-rules-watch-metadata-changes-in-ide-devices.patch \ |
25 | file://0001-unit-file.c-consider-symlink-on-filesystems-like-NFS.patch \ | 25 | file://0001-unit-file.c-consider-symlink-on-filesystems-like-NFS.patch \ |
26 | file://0001-seccomp-more-comprehensive-protection-against-libsec.patch \ | ||
26 | file://99-default.preset \ | 27 | file://99-default.preset \ |
27 | " | 28 | " |
28 | 29 | ||