login
Header Space

 
 

Re: Integrating securelevel and kauth(9)

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

YAMAMOTO Takashi wrote:


I'm not sure I follow. What would the listener check if there aren't
separate bits (or whatever) that indicate the different knobs?


Some things that are worth saying here...

The vnode scope is used only for access control operations -- the
permission checks that are now part of the file-system code -- because
it's *very* heavily used. I suggest we trust Apple on this one and not
attempt to add more things to it.

As for the other scopes, you see what kind of mess is created here? we
introduce more scopes than actually necessary and over-complicate it.
I assume we'll end up placing knobs for the "lkm", "machdep", "specfs"
scopes and the misc. things in the generic scope. The fileop scope does
not seem right for things like handling the immutable (and other) bits,
so that'd probably go in generic as well.

The "machdep" scope is actually more of a i386/amd64/xen scope; don't
quote me on it but I think there is very minimal use -- if any -- of
securelevel in other MD code.

So... it might be the case that introducing a new scope that can be
called "system" (or, "TCB" :) to control the variety of knobs that might
affect the TCB be worthwhile, after all...

Of course, this is just my opinion, and I'd be more than happy if others
could comment on that matter as well.


This I don't agree with. As my original post on the thread said, there
are going to be two ways for handling the securelevel implications: the
"traditional" way and the "new" (multi-knobbed) way. If we change only
parts of the code, we're dragging feet.


That's an excellent suggestion. The amount of converted-suser() calls in
the kernel is rather large, so if other developers are interested in
helping to identify what privilege is requested in each of them we can
achieve that faster.

I wouldn't want to think, however, that we'll hold with the securelevel
work because of it. A large amount of the work is changing the
references to securelevel to kauth(9) calls with the proper request,
and for that we don't need to wait until all converted-suser() calls
have more descriptive requests, IMHO. :)

-e.

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

Messages in current thread:
Integrating securelevel and kauth(9), Elad Efrat, (Fri Mar 24, 1:56 pm)
Re: Integrating securelevel and kauth(9), YAMAMOTO Takashi, (Sat Mar 25, 12:42 pm)
Re: Integrating securelevel and kauth(9), Elad Efrat, (Sat Mar 25, 2:29 pm)
Re: Integrating securelevel and kauth(9), YAMAMOTO Takashi, (Sat Mar 25, 3:04 pm)
Re: Integrating securelevel and kauth(9), Elad Efrat, (Sat Mar 25, 3:10 pm)
Re: Integrating securelevel and kauth(9), YAMAMOTO Takashi, (Sat Mar 25, 3:40 pm)
Re: Integrating securelevel and kauth(9), Elad Efrat, (Sat Mar 25, 3:50 pm)
Re: Integrating securelevel and kauth(9), YAMAMOTO Takashi, (Sat Mar 25, 4:54 pm)
Re: Integrating securelevel and kauth(9), Elad Efrat, (Sat Mar 25, 5:08 pm)
Re: Integrating securelevel and kauth(9), YAMAMOTO Takashi, (Sun Mar 26, 6:45 am)
Re: Integrating securelevel and kauth(9), Elad Efrat, (Sun Mar 26, 1:57 pm)
Re: Integrating securelevel and kauth(9), Robert Watson, (Tue Mar 28, 7:34 am)
Re: Integrating securelevel and kauth(9), David Laight, (Tue Mar 28, 1:29 pm)
Re: Integrating securelevel and kauth(9), Robert Watson, (Tue Mar 28, 1:36 pm)
Re: Integrating securelevel and kauth(9), Daniel Carosone, (Tue Mar 28, 4:36 pm)
Re: Integrating securelevel and kauth(9), YAMAMOTO Takashi, (Sun Mar 26, 4:56 pm)
Re: Integrating securelevel and kauth(9), Elad Efrat, (Sun Mar 26, 5:58 pm)
Re: Integrating securelevel and kauth(9), YAMAMOTO Takashi, (Mon Mar 27, 6:57 am)
Re: Integrating securelevel and kauth(9), Elad Efrat, (Mon Mar 27, 6:47 pm)
Re: Integrating securelevel and kauth(9), Matt Thomas, (Mon Mar 27, 9:37 pm)
Re: Integrating securelevel and kauth(9), Thomas E. Spanjaard, (Mon Mar 27, 9:18 pm)
Re: Integrating securelevel and kauth(9), Martin Husemann, (Mon Mar 27, 7:20 am)
Re: Integrating securelevel and kauth(9), Bill Studenmund, (Fri Mar 24, 6:44 pm)
Re: Integrating securelevel and kauth(9), Elad Efrat, (Fri Mar 24, 6:56 pm)
Re: Integrating securelevel and kauth(9), Bill Studenmund, (Sat Mar 25, 2:05 pm)
Re: Integrating securelevel and kauth(9), David Laight, (Fri Mar 24, 3:01 pm)
Re: Integrating securelevel and kauth(9), Elad Efrat, (Fri Mar 24, 5:51 pm)
Re: Integrating securelevel and kauth(9), Bill Studenmund, (Fri Mar 24, 6:29 pm)
Re: Integrating securelevel and kauth(9), Garrett D'Amore, (Fri Mar 24, 2:17 pm)
Re: Integrating securelevel and kauth(9), Elad Efrat, (Fri Mar 24, 5:24 pm)
Re: Integrating securelevel and kauth(9), Matthew Mondor, (Sat Mar 25, 4:59 pm)
Re: Integrating securelevel and kauth(9), Elad Efrat, (Sat Mar 25, 5:28 pm)
Re: Integrating securelevel and kauth(9), Matthew Mondor, (Sat Mar 25, 6:53 pm)
Re: Integrating securelevel and kauth(9), Elad Efrat, (Sat Mar 25, 7:22 pm)
Re: Integrating securelevel and kauth(9), Garrett D'Amore, (Sat Mar 25, 9:07 pm)
Re: Integrating securelevel and kauth(9), Garrett D'Amore, (Fri Mar 24, 5:55 pm)
Re: Integrating securelevel and kauth(9), Elad Efrat, (Fri Mar 24, 8:29 pm)
speck-geostationary