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

b8f1b8
diff -up shadow-4.9/lib/semanage.c.default-range shadow-4.9/lib/semanage.c
b8f1b8
--- shadow-4.9/lib/semanage.c.default-range	2021-07-22 23:55:35.000000000 +0200
b8f1b8
+++ shadow-4.9/lib/semanage.c	2021-08-02 12:43:16.822817392 +0200
b8f1b8
@@ -143,6 +143,7 @@ static int semanage_user_mod (semanage_h
b8f1b8
 		goto done;
b8f1b8
 	}
b8f1b8
 
b8f1b8
+#if 0
b8f1b8
 	ret = semanage_seuser_set_mlsrange (handle, seuser, DEFAULT_SERANGE);
b8f1b8
 	if (ret != 0) {
b8f1b8
 		fprintf (shadow_logfd,
b8f1b8
@@ -150,6 +151,7 @@ static int semanage_user_mod (semanage_h
b8f1b8
 		ret = 1;
b8f1b8
 		goto done;
b8f1b8
 	}
b8f1b8
+#endif
b8f1b8
 
b8f1b8
 	ret = semanage_seuser_set_sename (handle, seuser, seuser_name);
b8f1b8
 	if (ret != 0) {
b8f1b8
@@ -200,6 +202,7 @@ static int semanage_user_add (semanage_h
b8f1b8
 		goto done;
b8f1b8
 	}
b8f1b8
 
b8f1b8
+#if 0
b8f1b8
 	ret = semanage_seuser_set_mlsrange (handle, seuser, DEFAULT_SERANGE);
b8f1b8
 	if (ret != 0) {
b8f1b8
 		fprintf (shadow_logfd,
b8f1b8
@@ -208,6 +211,7 @@ static int semanage_user_add (semanage_h
b8f1b8
 		ret = 1;
b8f1b8
 		goto done;
b8f1b8
 	}
b8f1b8
+#endif
b8f1b8
 
b8f1b8
 	ret = semanage_seuser_set_sename (handle, seuser, seuser_name);
b8f1b8
 	if (ret != 0) {