[apparmor] [patch 17/12] v3 unix socket rules
Steve Beattie
steve at nxnw.org
Thu Sep 4 16:31:51 UTC 2014
On Thu, Sep 04, 2014 at 09:19:53AM -0700, John Johansen wrote:
> Fix the permission encoding output of getopt/setopt
>
> Signed-off-by: John Johansen <john.johansen at canonical.com>
Acked-by: Steve Beattie <steve at nxnw.org>
Thanks!
> === modified file 'parser/af_unix.cc'
> --- parser/af_unix.cc 2014-08-31 17:15:54 +0000
> +++ parser/af_unix.cc 2014-09-04 16:12:04 +0000
> @@ -385,7 +385,7 @@
> tmp << "..";
> buf = tmp.str();
> if (!prof.policy.rules->add_rule(buf.c_str(), deny,
> - map_perms(AA_NET_OPT),
> + map_perms(mask & AA_NET_OPT),
> map_perms(audit & AA_NET_OPT),
> dfaflags))
> goto fail;
>
>
>
--
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/20140904/40e08ee0/attachment.pgp>
More information about the AppArmor
mailing list