[apparmor] [patch] aa-genprof: fix last_audit_entry_time()
steve at nxnw.org
Wed Mar 19 22:53:04 UTC 2014
On Wed, Mar 19, 2014 at 10:44:16PM +0100, Christian Boltz wrote:
> last_audit_entry_time() was waiting forever because
> subprocess.check_output() started tail without any parameters.
> Fixed by removing shell=True (default is shell=False).
> Also fix the regex ("^.*", the dot was missing).
> Needless to say - I verified that logmark really contains the timestamp
> from audit.log.
Acked-by: Steve Beattie <steve at nxnw.org>
<sbeattie at ubuntu.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the AppArmor