diff options
author | Adrian Bunk <bunk@stusta.de> | 2019-12-05 23:23:38 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-09 12:00:43 +0000 |
commit | fa60a9a52675ee7e532af1406695ea8cb6c9aec1 (patch) | |
tree | 16d50466d01b546ca98c44edeca41360ddadfec5 /meta/recipes-core | |
parent | bf543a194e442f5ae4524449fc06c4813131e88d (diff) | |
download | poky-fa60a9a52675ee7e532af1406695ea8cb6c9aec1.tar.gz |
systemd: Upgrade 243 -> 243.2
Bugfix-only changes on the 243 stable branch.
Backported patch removed.
(From OE-Core rev: 0406dd71964fca391b57f7bf43a7f37f6549fa15)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/systemd/systemd.inc | 4 | ||||
-rw-r--r-- | meta/recipes-core/systemd/systemd/0001-pstore-fix-use-after-free.patch | 39 | ||||
-rw-r--r-- | meta/recipes-core/systemd/systemd_243.bb | 1 |
3 files changed, 2 insertions, 42 deletions
diff --git a/meta/recipes-core/systemd/systemd.inc b/meta/recipes-core/systemd/systemd.inc index 7f3a59c208..6965b3b482 100644 --- a/meta/recipes-core/systemd/systemd.inc +++ b/meta/recipes-core/systemd/systemd.inc | |||
@@ -14,10 +14,10 @@ LICENSE = "GPLv2 & LGPLv2.1" | |||
14 | LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ | 14 | LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ |
15 | file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c" | 15 | file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c" |
16 | 16 | ||
17 | SRCREV = "efb536d0cbe2e58f80e501d19999928c75e08f6a" | 17 | SRCREV = "fab6f010ac6c3bc93a10868de722d7c8c3622eb9" |
18 | SRCBRANCH = "v243-stable" | 18 | SRCBRANCH = "v243-stable" |
19 | SRC_URI = "git://github.com/systemd/systemd-stable.git;protocol=git;branch=${SRCBRANCH}" | 19 | SRC_URI = "git://github.com/systemd/systemd-stable.git;protocol=git;branch=${SRCBRANCH}" |
20 | 20 | ||
21 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |
22 | 22 | ||
23 | PV_append = "+${SRCPV}" | 23 | PV_append = ".2" |
diff --git a/meta/recipes-core/systemd/systemd/0001-pstore-fix-use-after-free.patch b/meta/recipes-core/systemd/systemd/0001-pstore-fix-use-after-free.patch deleted file mode 100644 index fd147a18be..0000000000 --- a/meta/recipes-core/systemd/systemd/0001-pstore-fix-use-after-free.patch +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | From 1b3156edd291e0882d80a695d035dd30521345d1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Michael Olbrich <m.olbrich@pengutronix.de> | ||
3 | Date: Fri, 6 Sep 2019 15:04:01 +0200 | ||
4 | Subject: [PATCH] pstore: fix use after free | ||
5 | |||
6 | The memory is still needed in the sd_journal_sendv() after the 'if' block. | ||
7 | |||
8 | (cherry picked from commit 1e19f5ac0d680a63eccae7ef1fc6ce225dca0bbf) | ||
9 | |||
10 | Upstream-Status: Backport | ||
11 | |||
12 | Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> | ||
13 | --- | ||
14 | src/pstore/pstore.c | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/src/pstore/pstore.c b/src/pstore/pstore.c | ||
18 | index c760b3e899..8ffe523830 100644 | ||
19 | --- a/src/pstore/pstore.c | ||
20 | +++ b/src/pstore/pstore.c | ||
21 | @@ -117,6 +117,7 @@ static int compare_pstore_entries(const void *_a, const void *_b) { | ||
22 | |||
23 | static int move_file(PStoreEntry *pe, const char *subdir) { | ||
24 | _cleanup_free_ char *ifd_path = NULL, *ofd_path = NULL; | ||
25 | + _cleanup_free_ void *field = NULL; | ||
26 | const char *suffix, *message; | ||
27 | struct iovec iovec[2]; | ||
28 | int n_iovec = 0, r; | ||
29 | @@ -138,7 +139,6 @@ static int move_file(PStoreEntry *pe, const char *subdir) { | ||
30 | iovec[n_iovec++] = IOVEC_MAKE_STRING(message); | ||
31 | |||
32 | if (pe->content_size > 0) { | ||
33 | - _cleanup_free_ void *field = NULL; | ||
34 | size_t field_size; | ||
35 | |||
36 | field_size = strlen("FILE=") + pe->content_size; | ||
37 | -- | ||
38 | 2.14.4 | ||
39 | |||
diff --git a/meta/recipes-core/systemd/systemd_243.bb b/meta/recipes-core/systemd/systemd_243.bb index b31d0b5ed4..ac7a5f86b3 100644 --- a/meta/recipes-core/systemd/systemd_243.bb +++ b/meta/recipes-core/systemd/systemd_243.bb | |||
@@ -24,7 +24,6 @@ SRC_URI += "file://touchscreen.rules \ | |||
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://99-default.preset \ | 26 | file://99-default.preset \ |
27 | file://0001-pstore-fix-use-after-free.patch \ | ||
28 | " | 27 | " |
29 | 28 | ||
30 | # patches needed by musl | 29 | # patches needed by musl |