diff options
author | Ross Burton <ross.burton@intel.com> | 2017-08-04 17:27:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-29 16:50:54 +0100 |
commit | 07e5111828d6cad3133beb23e50312e4a5d6b73c (patch) | |
tree | 9fddc30e54563a135f770c98657b6385e9ddc4c1 /meta/recipes-core/systemd/systemd_230.bb | |
parent | 7cc37c53909d958fd432f93c8f569a4de69a298f (diff) | |
download | poky-07e5111828d6cad3133beb23e50312e4a5d6b73c.tar.gz |
systemd: refuse to load units with errors (CVE-2017-1000082)
If a unit has a statement such as User=0day where the username exists but is
strictly speaking invalid, the unit will be started as the root user instead.
Backport a patch from upstream to mitigate this by refusing to start units such
as this.
(From OE-Core rev: e56cb926c170f493ee2a9c4c63d0ecbf883d4685)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd_230.bb')
-rw-r--r-- | meta/recipes-core/systemd/systemd_230.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_230.bb b/meta/recipes-core/systemd/systemd_230.bb index 702e377264..40f1428340 100644 --- a/meta/recipes-core/systemd/systemd_230.bb +++ b/meta/recipes-core/systemd/systemd_230.bb | |||
@@ -36,6 +36,7 @@ SRC_URI += " \ | |||
36 | file://0022-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch \ | 36 | file://0022-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch \ |
37 | file://udev-re-enable-mount-propagation-for-udevd.patch \ | 37 | file://udev-re-enable-mount-propagation-for-udevd.patch \ |
38 | file://CVE-2016-7795.patch \ | 38 | file://CVE-2016-7795.patch \ |
39 | file://validate-user.patch \ | ||
39 | " | 40 | " |
40 | SRC_URI_append_libc-uclibc = "\ | 41 | SRC_URI_append_libc-uclibc = "\ |
41 | file://0002-units-Prefer-getty-to-agetty-in-console-setup-system.patch \ | 42 | file://0002-units-Prefer-getty-to-agetty-in-console-setup-system.patch \ |