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

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