diff options
author | Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com> | 2016-02-29 18:37:15 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-02 22:39:43 +0000 |
commit | d8acef272d18b120a8363df1e90743693e5713be (patch) | |
tree | b31f343f79f6fe19b6d56cbca8bf7227b6b0539a /meta/recipes-extended/libarchive/libarchive_3.1.2.bb | |
parent | 431c1e171f1d027abd977ebcba352efd2251982e (diff) | |
download | poky-d8acef272d18b120a8363df1e90743693e5713be.tar.gz |
libarchive: Set xattrs after setting times
With Integrity Measurement Architecture (IMA) enabled in Linux
kernel the security.ima extended attribute gets overwritten
when setting times on a file with a futimens() call. So it's safer
to set xattrs after times.
(From OE-Core rev: 9bef9e0a9904beeaea1417f9b66089e7555beb26)
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/libarchive/libarchive_3.1.2.bb')
-rw-r--r-- | meta/recipes-extended/libarchive/libarchive_3.1.2.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/libarchive/libarchive_3.1.2.bb b/meta/recipes-extended/libarchive/libarchive_3.1.2.bb index 89c8faf5ef..ed677ac318 100644 --- a/meta/recipes-extended/libarchive/libarchive_3.1.2.bb +++ b/meta/recipes-extended/libarchive/libarchive_3.1.2.bb | |||
@@ -35,6 +35,7 @@ SRC_URI = "http://libarchive.org/downloads/libarchive-${PV}.tar.gz \ | |||
35 | file://pkgconfig.patch \ | 35 | file://pkgconfig.patch \ |
36 | file://libarchive-CVE-2015-2304.patch \ | 36 | file://libarchive-CVE-2015-2304.patch \ |
37 | file://mkdir.patch \ | 37 | file://mkdir.patch \ |
38 | file://0001-Set-xattrs-after-setting-times.patch \ | ||
38 | " | 39 | " |
39 | 40 | ||
40 | SRC_URI[md5sum] = "efad5a503f66329bb9d2f4308b5de98a" | 41 | SRC_URI[md5sum] = "efad5a503f66329bb9d2f4308b5de98a" |