[apparmor] [patch] convert RE_PROFILE_BARE_FILE_ENTRY to named match groups

Steve Beattie steve at nxnw.org
Tue Oct 7 21:54:41 UTC 2014


On Thu, Oct 02, 2014 at 11:15:50PM +0200, Christian Boltz wrote:
> this patch converts RE_PROFILE_BARE_FILE_ENTRY and the code using it 
> to named match groups. 
> 
> Also split out RE_OWNER that matches the "owner" keyword.
> 
> To make the code easier to understand, I dropped the existing audit
> variable and instead directly query the "new" audit variable while 
> filling path_rule['audit'].

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

Will you be converting RE_PROFILE_PATH_ENTRY handling soon?

Thanks.

-- 
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/20141007/51580407/attachment.pgp>


More information about the AppArmor mailing list