Change get_context_list to return an error rather then
PATCH 14/74 Change get_context_list to return an error rather then
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
In the past pam_selinux would return a bogus login context if the login program was running with the wrong context. If you ran sshd as unconfined_t you might get the login user loggin in as pam_oddjob_mkhomedir_t or some other bogus
type. This change fixes the code to return an error if it can not return a good match.
This patch looks good to me. acked.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlJpJqQACgkQrlYvE4MpobOkmQCdGD2YBvJx1vg0VkNgsyni6Y4F WwgAoKAicAI1nPrReds9DLJkSkamj10X
=YR4U
-----END PGP SIGNATURE-----