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 <[email protected]>

Acked-by: Seth Arnold <[email protected]>

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;
> 
> 
> 
> -- 
> AppArmor mailing list
> [email protected]
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/apparmor
> 

Attachment: signature.asc
Description: Digital signature

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to