Skip to contentSkip to conversation

What's the relationship between existing mls files?

DISCUSSION Park Lee 2 participants 2 messages Oct 22, 2004 SELinux security module

lore
Share & tools
lore

Park Lee

author
#0 lore raw

Dear sir,
In 2.6.8.1 kernel with SELinux patch applied (http://www.nsa.gov/selinux/archives/linux-2.6-2004081908.tgz), I see there have three files: mls.c, mls.h and mls_types.h. while in SELinux Full Userland Archive (http://www.nsa.gov/selinux/archives/selinux-usr-2004081908.tgz), there also have three files: mls.c, mls.h and mls_type.h.
I've look through these files, and found that there are only a few differences among them, then what is the relationship between the two similar groups of files ?

Thank you!

--
Best Regards,
Park Lee <[email protected]>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

#1 lore raw
Quoted 3 lines · Park Lee

I've look through these files, and found that there are only a
few differences among them, then what is the relationship between the two similar groups of files ?

Originally, the kernel security server (policy engine) and the checkpolicy policy compiler were built from the same core code using macros to generate appropriate code for kernel or userspace as appropriate. They share the same internal policy data structures and have a shared knowledge of the binary policy format, and checkpolicy -d also allowed exercising a userspace copy of the security server functions for debugging purposes. The source code was then subsequently forked and has gradually diverged as the kernel code has been further specialized. The checkpolicy core code has more recently been pushed into libsepol to allow re-use by other components and was reworked at the same time to shed the legacy aspects.

Signature · 8 lines
Stephen Smalley <[email protected]>
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.