Go to file
Daniel J Walsh 1629d2f89a This patch cleans up a couple of crashes caused by libselinux
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If you fail to load_policy in the init or SELinux is disabled, you need
to free the selinux_mnt variable and clear the memory.

systemd was calling load_polcy on a DISABLED system then later on it
would call is_selinux_enabled() and get incorrect response, since
selinux_mnt still had valid data.

The second bug in libselinux, resolves around calling the
selinux_key_delete(destructor_key) if the selinux_key_create call had
never been called.  This was causing data to be freed in other
applications that loaded an unloaded the libselinux library but never
setup setrans or matchpathcon.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk2c0/UACgkQrlYvE4MpobMP1QCfXAFD3pfWFLd1lylU/vjsZmpM
mcUAnA2l3/GKGC3hT8XB9E+2pTfpy+uj
=jpyr
-----END PGP SIGNATURE-----

Signed-off-by: Steve Lawrence <slawrence@tresys.com>
2011-04-08 10:22:17 -04:00
checkpolicy Userspace: display the class in role_transition rule 2011-04-07 12:12:58 -04:00
libselinux This patch cleans up a couple of crashes caused by libselinux 2011-04-08 10:22:17 -04:00
libsemanage bump checkpolicy to 2.0.23 2010-12-16 14:11:57 -05:00
libsepol Userspace: handle the class in role_trans_rule 2011-04-07 12:12:58 -04:00
policycoreutils bump policycoreutils to 2.0.85 2010-12-20 15:13:33 -05:00
scripts release script 2009-03-12 01:23:32 -04:00
sepolgen bump sepolgen to 1.0.23 2010-03-24 13:47:39 -04:00
.gitignore Add pkgconfig files for libsepol, libselinux, and libsemanage. 2009-10-22 14:50:07 -04:00
Makefile initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00