Re: [OE-core] [PATCH] libarchive: Set xattrs after setting times

2016-02-29 Thread Richard Purdie
On Mon, 2016-02-29 at 16:27 +0200, Dmitry Rozhkov wrote: > With Integrity Measurement Architecture (IMA) enabled 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. > > The patch was s

[OE-core] [PATCH] libarchive: Set xattrs after setting times

2016-02-29 Thread Dmitry Rozhkov
With Integrity Measurement Architecture (IMA) enabled 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. The patch was submitted upstream in https://github.com/libarchive/libarchive/pull/66