Go to file
Chad Sellers 7d19f9df51 libselinux: Export reset_selinux_config()
In integrating SELinux policy into rpm, we have a need to be
able to reset the configuration data (e.g. policy type) loaded
into libselinux. These values are currently loaded lazily by a
number of different functions (e.g. matchpatchcon_init()).
Since we are changing rpm to install policy, including initial
base policy, we need to be able to reload these configuration
items after the policy has been installed.

reset_selinux_config() already exists and is used by
selinux_init_load_policy() for a similar reason, but it is not
exported. This was probably intentionaly since it is not thread
safe at all. That said, rpm needs to do the same thing. This
patch makes the function public, and places a warning in the
header comment that it is not thread safe.

Signed-off-by:  Chad Sellers <csellers@tresys.com>
2009-10-21 19:41:59 -04:00
checkpolicy bump checkpolicy to 2.0.20, libsepol to 2.0.39, sepolgen to 1.0.18 2009-10-14 15:54:16 -04:00
libselinux libselinux: Export reset_selinux_config() 2009-10-21 19:41:59 -04:00
libsemanage Add subdirectory .gitignore files. 2009-10-20 21:25:55 -04:00
libsepol Add subdirectory .gitignore files. 2009-10-20 21:25:55 -04:00
policycoreutils Add subdirectory .gitignore files. 2009-10-20 21:25:55 -04:00
scripts release script 2009-03-12 01:23:32 -04:00
sepolgen bump checkpolicy to 2.0.20, libsepol to 2.0.39, sepolgen to 1.0.18 2009-10-14 15:54:16 -04:00
.gitignore Add top-level .gitignore file. 2009-10-20 17:25:59 -04:00
Makefile initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00