[apparmor] [patch] aa-genprof: fix last_audit_entry_time()

Steve Beattie 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>


Steve Beattie
<sbeattie at ubuntu.com>
-------------- 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/20140319/9c845463/attachment.pgp>

More information about the AppArmor mailing list