[apparmor] [PATCH 1/2] Use mtime instead of ctime for cache file

Steve Beattie steve at nxnw.org
Mon Jun 8 21:20:05 UTC 2015


On Fri, Jun 05, 2015 at 03:24:22PM -0700, John Johansen wrote:
> For cache file. For some inexplicable reason when we converted the
> cache to use mtime, the timestamp used from the cache file never
> got switched from ctime to mtime.
> 
> The means we are comparing the cache files ctime against the policy
> files mtime. Which can make the cache look newer than it really
> is.
> 
> Signed-off-by: John Johansen <john.johansen at canonical.com>

Acked-by: Steve Beattie <steve at nxnw.org>

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150608/9e2f65f4/attachment.pgp>


More information about the AppArmor mailing list