[apparmor] [patch] Use generic names in aa-mergeprof
Steve Beattie
steve at nxnw.org
Fri May 29 19:28:04 UTC 2015
On Sun, May 24, 2015 at 02:14:05PM +0200, Christian Boltz wrote:
> Hello,
>
> this patch replaces rule-specific names with generic names:
> - s/'capability'/ruletype/
> - s/cap_obj/rule_obj/
> - s/'network'/ruletype/
> - s/net_obj/rule_obj/
I would probably just do s/rule_obj/rule/ but maybe that's just me.
> It also sets ruletype at the beginning of each block.
>
> The long-term goal is to have
> for ruletype in ['capability', 'network', ...]:
> with common code to handle all rule types, and having common names makes
> it easier to compare the blocks.
>
> [ 13-mergeprof-use-generic-names.diff ]
Acked-by: Steve Beattie <steve at nxnw.org> either with or without my
suggested change.
--
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/20150529/9aae51e4/attachment.pgp>
More information about the AppArmor
mailing list