3ba23c823c
Fix ordering of file_contexts.homedirs from Todd Miller and Dan Walsh.
19 lines
679 B
Diff
19 lines
679 B
Diff
diff --exclude-from=exclude -N -u -r nsalibsemanage/src/genhomedircon.c libsemanage-2.0.11/src/genhomedircon.c
|
|
--- nsalibsemanage/src/genhomedircon.c 2007-10-01 09:54:35.000000000 -0400
|
|
+++ libsemanage-2.0.11/src/genhomedircon.c 2007-10-01 12:24:39.000000000 -0400
|
|
@@ -668,12 +668,11 @@
|
|
|
|
for (i = 0; i < nseusers; i++) {
|
|
seuname = semanage_seuser_get_sename(seuser_list[i]);
|
|
+ name = semanage_seuser_get_name(seuser_list[i]);
|
|
|
|
- if (strcmp(seuname, s->fallback_user) == 0)
|
|
+ if (strcmp(name,"root") && strcmp(seuname, s->fallback_user) == 0)
|
|
continue;
|
|
|
|
- name = semanage_seuser_get_name(seuser_list[i]);
|
|
-
|
|
if (strcmp(name, DEFAULT_LOGIN) == 0)
|
|
continue;
|
|
|