Skip to contentSkip to conversation

Updated Release

DISCUSSION Howard Holm 2 participants 2 messages Mar 12, 2004 – Mar 16, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

The SELinux web site <http://www.nsa.gov/selinux/> including the mail list archive has been updated. OpenPGP signatures are now available for released code. The site includes a new release of the SELinux prototype. Experimental SELinux NFS code has been made available. The base kernel version for 2.4 has been updated to 2.4.25. The base version for 2.6 remains 2.6.3, but the SELinux patch has been updated. Among the improvements in this release: Fine-grained boolean labeling support has been merged. The userspace AVC has been enhanced to handle netlink selinux notifications. MLS improvements have been merged as well as updates to slat and the example policy.

Signature · 3 lines
Howard Holm <[email protected]>
Secure Systems Research Office
National Security Agency
#1 lore raw
Quoted 4 lines · Howard Holm

The SELinux web site <http://www.nsa.gov/selinux/> including the mail list archive has been updated. OpenPGP signatures are now available for released code. The site includes a new release of the SELinux prototype. Experimental SELinux NFS code has been made available. The base kernel

The experimental SELinux NFS patch consists of both a kernel patch and userland patches. The userland patches include a patch to mount adding a selinuxnfs filesystem type, a xattr mount option, and a selinux mount option. There is also has a patch to exportfs to add a selinux export option. See the README in the nfs-usr archive for instructions.

The SELinux NFS patch modifies NFS v3 and the SELinux module. Some of the modifications:
1. The client can get and set extended attributes on the server. (Not limited to just security.selinux attributes.)
2. The client labels the security contexts of the selinuxnfs inodes with the security context received from the server.
3. The client sends the security context of the process to the server.
4. The server uses the security context of the process on the client to make security decisions.
5. More permission checking on the client and the server. (Ex. Not bypassing access calls to server if it is not an open or access.)

There are still the following limitations:
1. The client and server need to have essentially the same policy.
2. The client does not revalidate the security contexts for the NFS inodes. If the security context on the server is changed or from another client, it will not be reflected on the client. If the change is made on the client, then the client and server will have the correct context. I am currently working on a fix for this.
3. The fs create context is not currently passed to the server, so it depends on the client to set the context after the fact, widening the window where the file exists in the default type. I am also currently working on a fix for this.
4. Due to caching by the client, there is a strong dependence on the client to enforce the policy; the server can only directly mediate the initial request for data before it is cached and is also limited by the protocol.

Note that this patch does not address the RPC socket creation issue encountered by Stephen Tweedie of Red Hat; addressing that also requires a separate patch for sock_create.

Signature · 7 lines
James Carter <[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.