[apparmor] [patch] apparmor-utils: Add Immunix::SubDomain alias (apparmor-utils-subdomain-compat)

Steve Beattie steve at nxnw.org
Tue Aug 16 22:04:59 UTC 2011


On Tue, Aug 09, 2011 at 12:24:54AM +0200, Christian Boltz wrote:
> this openSUSE patch will preserve backward compatibility for code using
> Immunix::SubDomain.

Hrm, I assume this is for YaST backwards compatibility? Otherwise,
I'm unaware of any code that would need this.

> From: Jeff Mahoney <jeffm at suse.com>
> Subject: apparmor-utils: Add Immunix::SubDomain alias
> 
>  This patch adds an alias so that 'use Immunix::SubDomain;' works with older
>  code.
> 
> Acked-by: Jeff Mahoney <jeffm at suse.com>
> ---
> 
>  utils/Immunix/SubDomain.pm |    5 +++++
>  1 file changed, 5 insertions(+)
>  
> --- /dev/null
> +++ b/utils/Immunix/SubDomain.pm
> @@ -0,0 +1,5 @@
> +# Use of Immunix::SubDomain is deprecated. 
> +# Use Immunix::AppArmor directly instead.
> +use Immunix::AppArmor;
> +*Immunix::SubDomain:: = *Immunix::AppArmor::;
> +1;
> 
> 
> 
> Regards,
> 
> Christian Boltz
> -- 
> Um es auf dein Beispiel zu übertragen: [...] - oder -
> Wir stehen sowieso mit runtergelassener Unterhose mitten auf der
> Autobahn 7 und es ist relativ egal, ob wir jetzt noch eine Gummi-Hupe
> und eine Taschenlampe in der Hand halten, während ein Tanklaster auf
> uns zuhält. [Ratti in fontlinge-devel]
> 
> -- 
> AppArmor mailing list
> AppArmor at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor

-- 
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: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20110816/d02fb19d/attachment.pgp>


More information about the AppArmor mailing list