Skip to contentSkip to conversation

Porting to SELinux

DISCUSSION Robertson Wayne 2 participants 2 messages Feb 13, 2001 – Feb 14, 2001 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hello All,

I have a project where I have a glob of legacy (production) code that runs on Motorola MVME162/167 single board computers. The OS is version 5 of their Unix.

My project involves upgrading the hardware and the OS and porting our code. I would like to move to the linux world. It is still undecided about PowerPC, Intel, or ?? for the new SBCs. Because we have some real time needs and because we do need to be able to switch to a classified network I was thinking that RT Linux along with SE Linux might do the job.

Does anyone have any comments/thoughts on the applicability of SE Linux in an environment where RT Linux would be utilized? Of course, there remains the hardware issue but as I understand it SE Linux currently is not ported to the 68K/PPC platforms and so using SE Linux would indicate a choice of Intel boards (of which there aren't too many vendors that have such products that are VME based).

Thanks in advance for any suggestions/comments.

Wayne Robertson
MIT - Lincoln Labs

--
You have received this message because you are subscribed to the selinux 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 7 lines

Does anyone have any comments/thoughts on the applicability of SE Linux in an environment where RT Linux would be utilized? Of course, there remains the hardware issue but as I understand it SE Linux currently is not ported to the 68K/PPC platforms and so using SE Linux would indicate a choice of Intel boards (of which there aren't too many vendors that have such products that are VME based).

Caveat: I haven't used RTLinux, so I'm just drawing from their web pages for information about it. It appears that the primary issue would be that RTLinux has its own real-time kernel that runs a slightly modified Linux kernel as its lowest priority thread and provides communication interfaces between other threads (which can meet strict real-time requirements) and Linux processes. So if you apply the Linux kernel patches provided by RTLinux and SELinux (and resolve any conflicts) and then run the resulting kernel on the RTLinux real-time kernel, you would have a system where Linux processes are controlled by the mandatory security policy, but the other RTLinux threads would operate outside of its controls. SELinux could provide coarse-grained controls on interactions between Linux processes and any of the RTLinux threads (since they communicate via a device special file), but it couldn't distinguish among the RTLinux threads or control any direct communications between them. If all of the real-time threads only need to be associated with a single security label (security context), then this might be adequate. Otherwise, you need the real-time kernel to provide labeling and controls for
its abstractions.

With regard to the hardware issue, it should not be difficult to port SELinux to other architectures, especially after some recent changes to the implementation of the new system calls. An updated release should be forthcoming soon.

--
Stephen D. Smalley, NAI Labs
[email protected]

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.