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

Jeff Mahoney jeffm at novell.com
Tue Aug 16 23:10:03 UTC 2011


On 08/16/2011 07:07 PM, Christian Boltz wrote:
> 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?

Yes. I'm working through changing YaST to use the AppArmor name too.

-Jeff

>>> 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


-- 
Jeff Mahoney
SUSE Labs



More information about the AppArmor mailing list