[apparmor] [patch] Add logprof_header_localvars() to change_profileRule
Steve Beattie
steve at nxnw.org
Wed Jun 3 17:08:00 UTC 2015
On Mon, May 25, 2015 at 08:37:07PM +0200, Christian Boltz wrote:
> Hello,
>
> Am Montag, 25. Mai 2015 schrieb Christian Boltz:
> > [ 31-Change_profileRule-add-logprof_header_localvars.diff ]
>
> > === modified file utils/test/test-change_profile.py
>
> > +class CapabilityLogprofHeaderTest(AATest):
>
> That classname is a bit strange for change_profile rule tests ;-)
> so here's v2 that changes it to ChangeProfileLogprofHeaderTest:
>
>
>
> Add logprof_header_localvars() to change_profileRule
>
> The function will return the 'Exec Condition' and the 'Target Profile'
> as nice list to use in aa-logprof (once we have support for
> change_profile in logparser.py) and aa-mergeprof.
>
> Also add some tests to ensure the correct result.
>
>
> [ 31-Change_profileRule-add-logprof_header_localvars.diff ]
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/20150603/b882e1bd/attachment.pgp>
More information about the AppArmor
mailing list