Skip to contentSkip to conversation

how usable is selinux in lsm-2.5?

DISCUSSION Andreas Schuldei 3 participants 4 messages Jun 18, 2003 – Jun 20, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw

I notice with satisfaction that lsm-2.5 with selinux configured in compiles fine here.

what is missing from it to be usable? Or which parts are there and what can one do with them?

will the 2.4 userspace which russel and brian ship in debian packages work on this kernel? I understand that the proc interface changed. are there patches for userspace allready?

--
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.

#1 lore raw
Quoted 9 lines · Andreas Schuldei

I notice with satisfaction that lsm-2.5 with selinux configured in compiles fine here.

what is missing from it to be usable? Or which parts are there and what can one do with them?

will the 2.4 userspace which russel and brian ship in debian packages work on this kernel? I understand that the proc interface changed. are there patches for userspace allready?

The packages that Brian and I provide will not work with the new xattr based interface in 2.5.x. To get it working you need to compile your own versions of login, cron, and other patched programs with support for this.

At some future time Brian and I will work on this, but if you would like to start maintaining some packages for 2.5.x support then that would be would help us.

Signature · 10 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
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.
#2 lore raw
In reply to Andreas Schuldei
Quoted 2 lines · Andreas Schuldei

I notice with satisfaction that lsm-2.5 with selinux configured in compiles fine here.

Are you referring to the lsm-2.5 BitKeeper tree from either lsm.bkbits.net or lsm.immunix.org? I did replace the SELinux module in that tree with the new 2.5 SELinux, although the LSM patch in that tree still includes various hooks that are not in mainline. You might want to wait until we make an updated public release of the mainline 2.5-based SELinux and use it.

Quoted 2 lines

what is missing from it to be usable? Or which parts are there and what can one do with them?

It doesn't include the networking access controls, since those controls need to be reimplemented using only features provided by the mainline kernel (vs. the rejected networking fields and hooks). It also is more limited in its support for filesystems due to the transition to xattr and the elimination of unsafe inode-to-path translation; if you want to use something other than ext[23] on disk or if you want to use devfs, you'll need to implement an xattr handler in the filesystem or some technique for labeling it in the SELinux module.

Quoted 3 lines

will the 2.4 userspace which russel and brian ship in debian packages work on this kernel? I understand that the proc interface changed. are there patches for userspace allready?

No, the SELinux API has been massively overhauled. You can fetch snapshots of the new userland components from
http://www.nsa.gov/selinux/lk, but it might be easier for you to wait for an updated public release on the main download page.

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.
#3 lore raw
Quoted 10 lines · * Stephen Smalley ([email protected]) [030619 14:33]:
Quoted 2 lines · Andreas Schuldei

I notice with satisfaction that lsm-2.5 with selinux configured in compiles fine here.

Are you referring to the lsm-2.5 BitKeeper tree from either lsm.bkbits.net or lsm.immunix.org? I did replace the SELinux module in that tree with the new 2.5 SELinux, although the LSM patch in that tree still includes various hooks that are not in mainline. You might want to wait until we make an updated public release of the mainline 2.5-based SELinux and use it.

when do you expect to release that?

Quoted 2 lines

http://www.nsa.gov/selinux/lk, but it might be easier for you to wait for an updated public release on the main download page.

would that be the same date then above?

--
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.