-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This patch looks good to me. acked. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9x3xEACgkQrlYvE4MpobNBnACfYgHhpNYENaEdNkNnnUvDqnOM gB0AnRn4/TTG8DlA6i4uwcOH3rJBJKr7 =62Mt -----END PGP SIGNATURE-----
>From cbc1f6b36eaf3159f28cbb853fa3bc348138a0f9 Mon Sep 17 00:00:00 2001 From: Laurent Bigonville <bigon@xxxxxxxxxx> Date: Mon, 26 Mar 2012 15:57:49 +0200 Subject: [PATCH 64/73] libsemanage -- fallback-user-level Hi, I've no rational and no original author about this patch. Signed-off-by: Eric Paris <eparis@xxxxxxxxxx> --- libsemanage/src/genhomedircon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 1.7.9.3