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

Christian Boltz apparmor at cboltz.de
Tue Aug 16 23:07:06 UTC 2011


Hello,

Am Mittwoch, 17. August 2011 schrieb Steve Beattie:
> 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.

Good question - Jeff, can you answer it, please?

> > 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
-- 
[Mails von der Konsole aus verschicken - sendmail geht nicht]
Danke fur eure Hilfe, aber vielleicht hatte ich sendmail zuerst instal-
lieren sollen *KopfAufTastaturKlopf*     [Mario Ohnewald in suse-linux]



More information about the AppArmor mailing list