[apparmor] [PATCH] utils: Fix typo in write_dbus()

Steve Beattie steve at nxnw.org
Thu Mar 20 05:22:28 UTC 2014


On Wed, Mar 19, 2014 at 07:26:47PM -0500, Tyler Hicks wrote:
> Signed-off-by: Tyler Hicks <tyhicks at canonical.com>

Vary good catch, thanks. Acked-by: Steve Beattie <steve at nxnw.org>

> ---
>  utils/apparmor/aa.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/utils/apparmor/aa.py b/utils/apparmor/aa.py
> index 19a140c..ddbee52 100644
> --- a/utils/apparmor/aa.py
> +++ b/utils/apparmor/aa.py
> @@ -3273,7 +3273,7 @@ def write_dbus_rules(prof_data, depth, allow):
>  
>  def write_dbus(prof_data, depth):
>      data = write_dbus_rules(prof_data, depth, 'deny')
> -    data += write_net_rules(prof_data, depth, 'allow')
> +    data += write_dbus_rules(prof_data, depth, 'allow')
>      return data
>  
>  def write_link_rules(prof_data, depth, allow):

-- 
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/20140319/c1cefc3b/attachment.pgp>


More information about the AppArmor mailing list