From: Russell Coker Reply-To: russell@coker.com.au To: "Christopher J. PeBenito" Subject: Re: Separating libselinux/libsepol (Was: Re: BusyBox: load_policy applet) Date: Wed, 28 Mar 2007 21:26:30 +1100 Cc: Karl MacMillan , Stephen Smalley , Yuichi Nakamura , busybox@kaigai.gr.jp, selinux@tycho.nsa.gov, Chad Sellers References: <20070323151513.395798cf.ynakam@hitachisoft.jp> <1175011333.19343.33.camel@localhost.localdomain> <1175021034.29300.67.camel@sgc> In-Reply-To: <1175021034.29300.67.camel@sgc> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Message-Id: <200703282026.41228.russell@coker.com.au> Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov On Wednesday 28 March 2007 04:43, "Christopher J. PeBenito" wrote: > > > > same boolean states. The only time it boots is because the battery > > > > was just dead, or you force it because the system is locked up (or > > > > some similar reason). Both reset the device state too, and then > > > > falling back to the defaults would be the anticipated behavior. If a Except of course if it's not desired. > > > > lock down is supposed to survive even that, I would argue that its > > > > not a state, its a configuration and that the tunables are the way to > > > > go. I can imagine a situation where a wireless PDA device has booleans set when leaving a secure area. When returning to a secure area an RSA based authentication mechanism could be used to inform a management program to change the boolean values. > A PDA is going to have more backed storage than RAM. This is wrong. I have two iPaQ's that have 32M of flash and 64M of RAM. I am not running out of either and expect that which you find limiting would depend greatly on application. Incidentally rumor has it that when manufacturing such devices RAM is cheaper than flash, I'm not sure whether the rumor is true. But the incidence of small devices using ram-disks for data that could be better stored on flash seems to indicate that it might be. > I would argue that > the tunables solution is the better solution from a memory optimization > perspective. Why waste precious RAM on unused configuration rules in > conditionals, when you have roomier flash-backed storage for tunables? I think that it would be good to have the option to disable each of these facilities at compile time and let the embedded developer choose the minimal set of features that meet their requirements. > More specialized systems that have tighter constraints aren't going to > have these configuration options since they're much more static than a > general purpose device like a PDA. For such things TOMOYO might be a good option. SE Linux is designed for general purpose computers. When you get down to an embedded device with 4M of RAM and 8M of flash that only runs three or four programs then TOMOYO may have an advantage. -- russell@coker.com.au http://etbe.blogspot.com/ My Blog http://www.coker.com.au/sponsorship.html Sponsoring Free Software development -- This message was distributed to subscribers of the selinux mailing 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.