On Mon, Apr 18, 2016 at 12:52:36PM -0700, John Johansen wrote:
> BugLink: http://bugs.launchpad.net/bugs/1551950
> 
> The apparmor_parser is incorrectly outputting the names of child profiles
> and hats, by adding a : between the parent and the child profile name
> 
> Eg.
>   /usr/sbin/httpd{,2}-prefork
>   /usr/sbin/httpd{,2}-prefork://DEFAULT_URI
>   /usr/sbin/httpd{,2}-prefork://HANDLING_UNTRUSTED_INPUT
> 
> instead of what it should be
>   /usr/sbin/httpd{,2}-prefork
>   /usr/sbin/httpd{,2}-prefork//DEFAULT_URI
>   /usr/sbin/httpd{,2}-prefork//HANDLING_UNTRUSTED_INPUT
> 
> Signed-off-by: John Johansen <[email protected]>

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

Thanks

> ---
>  parser/profile.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/parser/profile.h b/parser/profile.h
> index 5adbbcf..7121c0a 100644
> --- a/parser/profile.h
> +++ b/parser/profile.h
> @@ -225,7 +225,7 @@ public:
>       std::string fqname(void)
>       {
>               if (parent)
> -                     return parent->fqname() + "://" + name;
> +                     return parent->fqname() + "//" + name;
>               else if (!ns)
>                       return hname();
>               return ":" + std::string(ns) + "://" + hname();

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