On 2007-09-05 19:28-0000 David C Thompson wrote:

Hi all,

        I am curious whether CMake has any facilities for setting SELinux
security contexts on targets (and other files) when they are INSTALLed.
With SELinux enabled and enforcing, libraries built with the MODULE
keyword -- and *all* of their dependent shared libraries -- should have
a context of "system_u:object_r:lib_t" set with the chcon program.
Otherwise, programs won't be able to load the plugin with dlopen. I've
witnessed this behavior with mysqld on Fedora Core 6.

I think you need to try the CODE or SCRIPT signature of INSTALL.  Those
signatures are quite powerful and should allow you to create or process
files any way you want for the install tree.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to