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