]> code.ossystems Code Review - openembedded-core.git/commit
libarchive: Set xattrs after setting times
authorDmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Mon, 29 Feb 2016 16:37:15 +0000 (18:37 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Mar 2016 22:39:05 +0000 (22:39 +0000)
commit9bef9e0a9904beeaea1417f9b66089e7555beb26
tree2a807d289e737b49a4d01bd0d3ff00a4a6f5d23c
parentfd9d08b8ba512151615a03fda61a103760a0683c
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.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/libarchive/libarchive/0001-Set-xattrs-after-setting-times.patch [new file with mode: 0644]
meta/recipes-extended/libarchive/libarchive_3.1.2.bb