-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/26/2012 09:57 AM, Laurent Bigonville wrote: > Hi, > > I've no rational and no original author about this patch. > > > --- a/libsemanage/src/genhomedircon.c +++ > b/libsemanage/src/genhomedircon.c @@ -863,7 +877,7 @@ level = > semanage_user_get_mlslevel(*u); } else { prefix = name; - level = > "s0"; + level = FALLBACK_USER_LEVEL; } > > retval = getpwnam_r(name, &pwstorage, rbuf, rbuflen, &pwent); > > -- This message was distributed to subscribers of the selinux > mailing list. If you no longer wish to subscribe, send mail to > majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" > without quotes as the message. > > Looks good to me although I see this in two places. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9xyz8ACgkQrlYvE4MpobOV3QCfQfT77DP3b5sXDqmQ2vOoVVxl wukAoL137DCkrpJF6ISEE63oa6z8Td2e =EHIC -----END PGP SIGNATURE-----
diff --git a/libsemanage/src/genhomedircon.c b/libsemanage/src/genhomedircon.c index d2646ae..1b4c6c8 100644 --- a/libsemanage/src/genhomedircon.c +++ b/libsemanage/src/genhomedircon.c @@ -772,7 +772,7 @@ static int setup_fallback_user(genhomedircon_settings_t * s) if (semanage_user_query(s->h_semanage, key, &u) < 0) { prefix = name; - level = "s0"; + level = FALLBACK_USER_LEVEL; } else { @@ -863,7 +863,7 @@ static genhomedircon_user_entry_t *get_users(genhomedircon_settings_t * s, level = semanage_user_get_mlslevel(*u); } else { prefix = name; - level = "s0"; + level = FALLBACK_USER_LEVEL; } retval = getpwnam_r(name, &pwstorage, rbuf, rbuflen, &pwent);