SOURCES: apparmor-parser-fixes.patch (NEW) - new

arekm arekm at pld-linux.org
Thu May 29 22:53:18 CEST 2008


Author: arekm                        Date: Thu May 29 20:53:18 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new

---- Files affected:
SOURCES:
   apparmor-parser-fixes.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/apparmor-parser-fixes.patch
diff -u /dev/null SOURCES/apparmor-parser-fixes.patch:1.1
--- /dev/null	Thu May 29 22:53:18 2008
+++ SOURCES/apparmor-parser-fixes.patch	Thu May 29 22:53:13 2008
@@ -0,0 +1,13 @@
+Index: rc.apparmor.functions
+===================================================================
+--- rc.apparmor.functions	(wersja 1266)
++++ rc.apparmor.functions	(kopia robocza)
+@@ -375,7 +375,7 @@
+ 
+ 	retval=0
+ 	sed -e "s/ (\(enforce\|complain\))$//" "$SFS_MOUNTPOINT/profiles" | while read profile ; do
+-		if ( echo "${profile}" | grep -q "^/" ] ; then
++		if ( echo "${profile}" | grep -qv "^/" ] ; then
+ 			profile="profile_$profile";
+ 		fi
+ 		echo "\"$profile\" { }" | $PARSER -R >/dev/null
================================================================


More information about the pld-cvs-commit mailing list