run_init, and benchmarking
Why is there such a command like run_init? I mean, even if I directly start a service through /etc/init.d/nameservice start, shouldn't there be a domain transition (automatic, through type_transition statements) that places the process in the right security context? Another thing: what is the impact on performance of the Security Server-AVC control? What is the percentage in comparison on a "normal" Linux? Is there such a site with benchmarks on this?
Thanks a lot
_________________________________________________________________
Cerchi un campeggio per le tue vacanze? http://search.msn.it/results.aspx?q=campeggio&FORM=MSNH&CP=1252&srch_type=0
--
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.
Quoted 4 lines · Salvo Giuffrida
Why is there such a command like
run_init? I mean, even if I directly start a service through/etc/init.d/nameservicestart, shouldn't there be a domain transition (automatic, throughtype_transitionstatements) that places the process in the right security context?
That works for the domain, but is more problematic for the user identity and role, both in terms of making it transparent and in terms of not wanting to allow it to happen arbitrarily. run_init was a way to address those issues, and later also incorporated a way to address the tty issue (open_init_pty).
However, because of the usability issues (both for users and for e.g. rpm scriptlets), support for automatic role transitions was enabled in Fedora, and run_init is not used there, at least not under targeted policy. It is being used under MLS, but I'm not sure they have fully resolved the usability issues.
Hardened Gentoo integrated run_init functionality directly into their init script system, such that users continue to just run the init scripts directly, but are now presented with the authentication dialogue upon doing so, and the context transition is handled for them.
Quoted 3 lines
Another thing: what is the impact on performance of the Security Server-AVC control? What is the percentage in comparison on a "normal" Linux? Is there such a site with benchmarks on this?
There isn't anything really up-to-date, although there are various benchmark results posted previously, e.g. see
http://marc.theaimsgroup.com/?l=linux-kernel&m=112843656610915&w=2
Signature · 8 lines
Stephen Smalley 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.