[apparmor] [patch] [23/38] Add get_file_perms to aa.py
Steve Beattie
steve at nxnw.org
Thu Sep 22 21:33:17 UTC 2016
On Fri, Aug 12, 2016 at 11:00:30PM +0200, Christian Boltz wrote:
> get_file_perms() collects the existing permissions for a file from
> various rules (exact matches, wildcards) in the main profile and the
> included abstractions.
>
> It will be used to get displaying the current permissions back, and also
> to propose rules with merged permissions (next patch).
>
> Also add some tests to make sure it does what it promises ;-)
>
> [ 23-get-existing-file-permissions.diff ]
Acked-by: Steve Beattie <steve at nxnw.org>. Thanks.
(FYI, kmail seriously butchered this patch with line wrapping. The one
in your tarball set was better, but still had a fuzz line when
applying.)
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: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20160922/d39b4e53/attachment.pgp>
More information about the AppArmor
mailing list