SE Linux API
Is there documentation for the SE Linux API? I would like to start getting familiar with the programming end of SE Linux.
Thank you.
--
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 2 lines · Mark
Is there documentation for the SE Linux API? I would like to start getting familiar with the programming end of SE Linux.
There isn't an application development guide for SELinux, if that's what you mean. The guides and books I've seen have been focused on policy writing, not application development.
libselinux includes man pages for (most of) its public functions, but not a general overview/intro-style page.
There is a brief selinux-doc/PORTING guide I wrote a long time ago to help in making the transition to the new SELinux API introduced in Linux 2.6; while it was oriented toward people making that transition and is a bit old, it has some useful info.
Naturally, you can look at examples in libselinux/utils, policycoreutils, and a wide range of modified packages in Fedora, e.g. see
http://selinux.sourceforge.net/devel/userland.php3
Signature · 8 lines
Stephen Smalley National Security Agency -- 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.