Blame SOURCES/shadow-4.1.5.1-default-range.patch
|
|
9f90df |
diff -up shadow-4.1.5.1/lib/semanage.c.default-range shadow-4.1.5.1/lib/semanage.c
|
|
|
9f90df |
--- shadow-4.1.5.1/lib/semanage.c.default-range 2012-01-08 17:35:44.000000000 +0100
|
|
|
9f90df |
+++ shadow-4.1.5.1/lib/semanage.c 2013-06-14 15:14:51.970237594 +0200
|
|
|
9f90df |
@@ -143,6 +143,7 @@ static int semanage_user_mod (semanage_h
|
|
|
9f90df |
goto done;
|
|
|
9f90df |
}
|
|
|
9f90df |
|
|
|
9f90df |
+#if 0
|
|
|
9f90df |
ret = semanage_seuser_set_mlsrange (handle, seuser, DEFAULT_SERANGE);
|
|
|
9f90df |
if (ret != 0) {
|
|
|
9f90df |
fprintf (stderr,
|
|
|
9f90df |
@@ -150,6 +151,7 @@ static int semanage_user_mod (semanage_h
|
|
|
9f90df |
ret = 1;
|
|
|
9f90df |
goto done;
|
|
|
9f90df |
}
|
|
|
9f90df |
+#endif
|
|
|
9f90df |
|
|
|
9f90df |
ret = semanage_seuser_set_sename (handle, seuser, seuser_name);
|
|
|
9f90df |
if (ret != 0) {
|
|
|
9f90df |
@@ -200,6 +202,7 @@ static int semanage_user_add (semanage_h
|
|
|
9f90df |
goto done;
|
|
|
9f90df |
}
|
|
|
9f90df |
|
|
|
9f90df |
+#if 0
|
|
|
9f90df |
ret = semanage_seuser_set_mlsrange (handle, seuser, DEFAULT_SERANGE);
|
|
|
9f90df |
if (ret != 0) {
|
|
|
9f90df |
fprintf (stderr,
|
|
|
9f90df |
@@ -208,6 +211,7 @@ static int semanage_user_add (semanage_h
|
|
|
9f90df |
ret = 1;
|
|
|
9f90df |
goto done;
|
|
|
9f90df |
}
|
|
|
9f90df |
+#endif
|
|
|
9f90df |
|
|
|
9f90df |
ret = semanage_seuser_set_sename (handle, seuser, seuser_name);
|
|
|
9f90df |
if (ret != 0) {
|