SOURCES: apparmor-parser-init-args.patch - updated for 2.0.2-566

zbyniu zbyniu at pld-linux.org
Sat Apr 14 01:56:56 CEST 2007


Author: zbyniu                       Date: Fri Apr 13 23:56:56 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for 2.0.2-566

---- Files affected:
SOURCES:
   apparmor-parser-init-args.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/apparmor-parser-init-args.patch
diff -u SOURCES/apparmor-parser-init-args.patch:1.1 SOURCES/apparmor-parser-init-args.patch:1.2
--- SOURCES/apparmor-parser-init-args.patch:1.1	Mon Dec 18 15:00:42 2006
+++ SOURCES/apparmor-parser-init-args.patch	Sat Apr 14 01:56:51 2007
@@ -31,7 +31,7 @@
  			PARSER_MSG="Reloading AppArmor profiles "
  			;;
  		*)
-@@ -143,7 +144,7 @@ parse_profiles() {
+@@ -151,7 +152,7 @@ parse_profiles() {
  			logger -t "AppArmor(init)" -p daemon.warn "Skipping profile $profile"
  			STATUS=2
  		elif [ -f "${profile}" ] ; then
@@ -40,10 +40,10 @@
  			if [ $? -ne 0 ]; then
  				echo " Profile $profile failed to load"
  				STATUS=1
-@@ -180,7 +181,7 @@ profiles_names_list() {
- 		then 
- 			echo "nop" >/dev/null
- 		elif [ -f "${profile}" ] ; then
+@@ -183,7 +184,7 @@ profiles_names_list() {
+ 
+ 	for profile in $PROFILE_DIR/*; do
+ 	        if ! skip_profile "${profile}" && [ -f "${profile}" ] ; then
 -			LIST_ADD=$($PARSER $ABSTRACTIONS -N "$profile" | grep -v '\^')
 +			LIST_ADD=$($PARSER $ABSTRACTIONS ${AA_PARSER_ARGS} -N "$profile" | grep -v '\^')
  			if [ $? -eq 0 ]; then
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/apparmor-parser-init-args.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list