building libsecure.a advice
Hi everyone,
Has anyone tried to build JUST libsecure.a. Since SELinux applications need to be linked against it, I want to separate all necessary headers and libraries (seems like libsecure.a is the only one) so I can integrate them in my build environment (rather than relying on the default include or lib directories of the system.) A problem I've run into is finding a simple way of rebuilding the library without installing the whole kernel. I tried to run 'make' in the selinux/libsecure directory but that fails since selinux/libsecure/include misses some necessary files (some of those are in lsm-2.4/security/selinux/include.) Has anyone had any luck building ONLY libsecure.a?
Thanks,
M.H.
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 11 lines · M. H.
Has anyone tried to build JUST libsecure.a. Since SELinux applications need to be linked against it, I want to separate all necessary headers and libraries (seems like libsecure.a is the only one) so I can integrate them in my build environment (rather than relying on the default include or lib directories of the system.)
A problem I've run into is finding a simple way of rebuilding the library without installing the whole kernel. I tried to run 'make' in the selinux/libsecure directory but that fails since selinux/libsecure/include misses some necessary files (some of those are in lsm-2.4/security/selinux/include.) Has anyone had any luck building ONLY libsecure.a?
Good suggestion, I think it would be handy to have the library code separated from the rest of the selinux-small code.
Signature · 3 lines
I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won't use my address in the
Quoted 1 line
From field.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 11 lines · M. H.
Has anyone tried to build JUST libsecure.a. Since SELinux applications need to be linked against it, I want to separate all necessary headers and libraries (seems like libsecure.a is the only one) so I can integrate them in my build environment (rather than relying on the default include or lib directories of the system.)
A problem I've run into is finding a simple way of rebuilding the library without installing the whole kernel. I tried to run 'make' in the selinux/libsecure directory but that fails since selinux/libsecure/include misses some necessary files (some of those are in lsm-2.4/security/selinux/include.) Has anyone had any luck building ONLY libsecure.a?
As explained in selinux/README, you need to run 'make install' in selinux/module to install the support files from the SELinux module used to build the remaining components. This doesn't require building the kernel itself.
--
Stephen D. Smalley, NAI Labs
[email protected]
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.