[apparmor] [patch] [11/38] FileRule: Handle duplicated exec permissions
Steve Beattie
steve at nxnw.org
Thu Sep 22 05:47:49 UTC 2016
On Fri, Aug 12, 2016 at 10:50:07PM +0200, Christian Boltz wrote:
> the parser accepts duplicated execute permissions as long as they don't
> conflict. For example,
> /bin/foo pxpxpxpx,
> is a valid rule.
>
> This patch changes FileRule to also accept those duplicated permissions,
> even if it's unlikely to hit them outside of the parser tests ;-)
>
> Also add some tests to make sure the parsing works as expected.
>
>
> [ 11-FileRule-handle-duplicated-exec-permissions.diff ]
Acked-by: Steve Beattie <steve at nxnw.org>. 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/20160921/a10f5091/attachment.pgp>
More information about the AppArmor
mailing list