d3e12503af
- SPDX license migration Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
36 lines
1019 B
Diff
36 lines
1019 B
Diff
diff -up shadow-4.13/lib/semanage.c.default-range shadow-4.13/lib/semanage.c
|
|
--- shadow-4.13/lib/semanage.c.default-range 2022-11-09 09:37:11.955314964 +0100
|
|
+++ shadow-4.13/lib/semanage.c 2022-11-09 09:47:59.130645564 +0100
|
|
@@ -122,6 +122,7 @@ static int semanage_user_mod (semanage_h
|
|
goto done;
|
|
}
|
|
|
|
+#if 0
|
|
if (semanage_mls_enabled(handle)) {
|
|
ret = semanage_seuser_set_mlsrange (handle, seuser, DEFAULT_SERANGE);
|
|
if (ret != 0) {
|
|
@@ -131,6 +132,7 @@ static int semanage_user_mod (semanage_h
|
|
goto done;
|
|
}
|
|
}
|
|
+#endif
|
|
|
|
ret = semanage_seuser_set_sename (handle, seuser, seuser_name);
|
|
if (ret != 0) {
|
|
@@ -181,6 +183,7 @@ static int semanage_user_add (semanage_h
|
|
goto done;
|
|
}
|
|
|
|
+#if 0
|
|
if (semanage_mls_enabled(handle)) {
|
|
ret = semanage_seuser_set_mlsrange (handle, seuser, DEFAULT_SERANGE);
|
|
if (ret != 0) {
|
|
@@ -190,6 +193,7 @@ static int semanage_user_add (semanage_h
|
|
goto done;
|
|
}
|
|
}
|
|
+#endif
|
|
|
|
ret = semanage_seuser_set_sename (handle, seuser, seuser_name);
|
|
if (ret != 0) {
|