4b110147f6
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/shadow-utils#9f643a301165a0b1bb1fcb7b9c425809d5791a2f
37 lines
932 B
Diff
37 lines
932 B
Diff
Index: shadow-4.5/lib/semanage.c
|
|
===================================================================
|
|
--- shadow-4.5.orig/lib/semanage.c
|
|
+++ shadow-4.5/lib/semanage.c
|
|
@@ -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) {
|
|
fprintf (stderr,
|
|
@@ -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) {
|
|
fprintf (stderr,
|
|
@@ -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) {
|