Blame SOURCES/shadow-4.1.5.1-default-range.patch

9f13c6
Index: shadow-4.5/lib/semanage.c
9f13c6
===================================================================
9f13c6
--- shadow-4.5.orig/lib/semanage.c
9f13c6
+++ shadow-4.5/lib/semanage.c
9f13c6
@@ -143,6 +143,7 @@ static int semanage_user_mod (semanage_h
9f13c6
 		goto done;
9f13c6
 	}
9f13c6
 
9f13c6
+#if 0
9f13c6
 	ret = semanage_seuser_set_mlsrange (handle, seuser, DEFAULT_SERANGE);
9f13c6
 	if (ret != 0) {
9f13c6
 		fprintf (stderr,
9f13c6
@@ -150,6 +151,7 @@ static int semanage_user_mod (semanage_h
9f13c6
 		ret = 1;
9f13c6
 		goto done;
9f13c6
 	}
9f13c6
+#endif
9f13c6
 
9f13c6
 	ret = semanage_seuser_set_sename (handle, seuser, seuser_name);
9f13c6
 	if (ret != 0) {
9f13c6
@@ -200,6 +202,7 @@ static int semanage_user_add (semanage_h
9f13c6
 		goto done;
9f13c6
 	}
9f13c6
 
9f13c6
+#if 0
9f13c6
 	ret = semanage_seuser_set_mlsrange (handle, seuser, DEFAULT_SERANGE);
9f13c6
 	if (ret != 0) {
9f13c6
 		fprintf (stderr,
9f13c6
@@ -208,6 +211,7 @@ static int semanage_user_add (semanage_h
9f13c6
 		ret = 1;
9f13c6
 		goto done;
9f13c6
 	}
9f13c6
+#endif
9f13c6
 
9f13c6
 	ret = semanage_seuser_set_sename (handle, seuser, seuser_name);
9f13c6
 	if (ret != 0) {