|
Research
Skip Research Menus
Research MenuSecurity Enhanced Linux What's New Frequently Asked Questions Background Documents License Download Participating Mail List Archives Remaining Work Contributors Related Work Press Releases Information Assurance Research NIARL In-house Research Areas Mathematical Sciences Program Sabbaticals Computer & Information Sciences Research Technology Transfer Advanced Computing Advanced Mathematics Communications & Networking Information Processing Microelectronics Other Technologies Technology Fact Sheets Publications Related Links |
SELinux Mailing ListRe: Root file system over NFS
From: Stephen Smalley <sds_at_tislabs.com>
Date: Mon, 11 Jun 2001 14:13:02 -0400 (EDT)
On Mon, 11 Jun 2001, Reiner Sailer wrote:
> we are developing in an embedded environment (Linux / Walnut board). SELinux doesn't really support NFS. It provides some very minimal support for NFS clients, but it lacks general support for labeling and controls on NFS. We did implement labeling and controls for NFS in a predecessor of SELinux, the DTOS prototype, and we have a similar design for SELinux. But that involves modifying both the NFS client and server code, and it involves an extended version of the NFS protocol. And since we're investigating transferring SELinux into the LSM framework, it doesn't seem worthwhile to implement that level of support in the current prototype at this point.
> Possible solutions I think of in order of preference: I don't think this is a practical option with the current SELinux prototype. It involves changes to both the NFS client and server code, and an extended NFS protocol.
> b) manually assign contexts on the client after mounting nfs root and before This might work for setting the labels on files initially, but you'll probably need to make changes to the kernel to deal with files created during system operation. You can do a 'make relabel' in the policy directory after mounting the NFS root to initially set the labels. Of course, you'll need a customized policy configuration to allow bootstrapping and relabeling. You'll need to modify vfs_create, vfs_mkdir, etc. in kernel-2.4/fs/namei.c to set the SID on the inode after file creation. -- Stephen D. Smalley, NAI Labs ssmalley@nai.com -- You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.Received on Mon 11 Jun 2001 - 14:30:01 EDT |
|
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |












