login
Header Space

 
 

Re: Integrating securelevel and kauth(9)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
Cc: <tech-kern@...>, <tech-security@...>
Date: Friday, March 24, 2006 - 5:24 pm

Christos Zoulas wrote:


I'm sorry if that part of my mail wasn't clear, but the user will be
able to choose between "traditional securelevel model" and "fine-
grained knobs". In the latter case, kern.securelevel will have no
meaning in the NetBSD kernel at all -- there will no longer be
"security levels"; rather a collection of knobs you'll be able to
manipulate. The securelevel variable will exist only for [binary]
compatibility with third-party software/LKMs.

Of course, the /etc/rd.d/securelevel script for systems with
multiple knobs will be changed to load sysctl.conf-like files with
customized settings made by the admin. We should supply skeleton
files with the possible knobs and provide documentation on the
meaning of each knob and what securelevel it used to belong to.

On systems with multiple knobs exposed, maintaining correlation
between the securelevel variable and the value(s) of these knobs
can be done similar to what David suggested, assuming that it will
set securelevel to 2, even if only one securelevel 2 knob was set.


I addressed this in my post.. in the case of traditional securelevel,
we don't need to worry about that. When we have multiple knobs, we would
save the state of securelevel, then set it to a predefined mask, say
SECURELEVEL_MASK_0 (or whatever). When returning back to multi-user, we
will restore the saved state.

Hope this answers your questions,

-e.

-- 
Elad Efrat
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Integrating securelevel and kauth(9), Christos Zoulas, (Fri Mar 24, 2:42 pm)
Re: Integrating securelevel and kauth(9), Elad Efrat, (Fri Mar 24, 5:24 pm)
Re: Integrating securelevel and kauth(9), Thor Lancelot Simon, (Fri Mar 24, 6:59 pm)
Re: Integrating securelevel and kauth(9), Garrett D'Amore, (Fri Mar 24, 8:51 pm)
Re: Integrating securelevel and kauth(9), Elad Efrat, (Sat Mar 25, 5:14 am)
Re: Integrating securelevel and kauth(9), Tom Spindler, (Sat Mar 25, 6:41 am)
Re: Integrating securelevel and kauth(9), Garrett D'Amore, (Fri Mar 24, 11:26 pm)
Re: Integrating securelevel and kauth(9), Elad Efrat, (Fri Mar 24, 7:58 pm)
Re: Integrating securelevel and kauth(9), Jonathan Stone, (Fri Mar 24, 8:27 pm)
Re: Integrating securelevel and kauth(9), Bill Studenmund, (Fri Mar 24, 9:51 pm)
Re: Integrating securelevel and kauth(9), Jonathan Stone, (Fri Mar 24, 10:03 pm)
Re: Integrating securelevel and kauth(9), Bill Studenmund, (Mon Mar 27, 9:52 pm)
Re: Integrating securelevel and kauth(9), Daniel Carosone, (Mon Mar 27, 11:20 pm)
Re: Integrating securelevel and kauth(9), Elad Efrat, (Fri Mar 24, 9:05 pm)
Re: Integrating securelevel and kauth(9), Jonathan Stone, (Fri Mar 24, 10:42 pm)
Re: Integrating securelevel and kauth(9), Elad Efrat, (Sat Mar 25, 5:14 am)
Re: Integrating securelevel and kauth(9), David Laight, (Fri Mar 24, 3:08 pm)
speck-geostationary