[apparmor] [patch] [27/38] Implement FileRule logprof_header()

Steve Beattie steve at nxnw.org
Mon Sep 26 21:25:06 UTC 2016


On Fri, Aug 12, 2016 at 11:02:44PM +0200, Christian Boltz wrote:
> Merge the existing and requested permissions into a nice set of headers
> that can be displayed by aa-logprof. This will look like:
> 
> 	Path:      /foo
> 	Old Mode:  r + owner w
> 	New Mode:  rw
> 
> Also split off a _join_given_perms() function off _joint_perms() so that
> we can use the permission string merging for things not stored in 
> self.*.
> 
> Finally add some tests for logprof_header().
> 
> [ 27-logprof_header.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: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20160926/e47fac7e/attachment.pgp>


More information about the AppArmor mailing list