[apparmor] [patch] apparmor-utils: Add check_for_apparmor helper. (apparmor-compat-routines)

Christian Boltz apparmor at cboltz.de
Mon Aug 8 21:48:54 UTC 2011


Hello,

next openSUSE patch...

From: Jeff Mahoney <jeffm at suse.com>
Subject: apparmor-utils: Add check_for_apparmor helper.

 This should be an alias but those get complicated quickly in perl.

Signed-off-by: Jeff Mahoney <jeffm at suse.com>
---
 utils/Immunix/AppArmor.pm |    4 ++++
 1 file changed, 4 insertions(+)

--- a/utils/Immunix/AppArmor.pm
+++ b/utils/Immunix/AppArmor.pm
@@ -463,6 +463,10 @@ sub check_for_subdomain () {
     return $sd_mountpoint;
 }
 
+sub check_for_apparmor () {
+       return check_for_subdomain();
+}
+
 sub which ($) {
     my $file = shift;
 



Regards,

Christian Boltz
-- 
> Außerdem läuft [KDE 3.2] beta2 stabiler als es Win98 jemals war ;-)
Und? Wo ist da die Besonderheit?! Fast jedes andere grafische System
läuft stabiler als Windows 9x :-)
[> Christian Boltz und Tobias Weisserth in suse-linux]



More information about the AppArmor mailing list