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 - 2:29 pm

YAMAMOTO Takashi wrote:


True. The reason I did put them into a single scope was that,
originally, I had intended for the "system" scope to be something
like Thor posted about -- collection of changes that might affect
the TCB.

We could, and perhaps even should, do this right by splitting it up
as you suggest.

When I first started some work on splitting up securelevel (before
I figured integrating it with kauth(9) would be the best thing to
do) I compiled a list of what securelevel really does. Most of the
list is divided to file-system related knobs (file flags and mounts),
kernel related knobs (LKMs, time adjustment, sysctl(9), corename),
raw memory access (/dev/mem and /dev/kmem), networking (packet filter
rules and net80211 modules), and process manipulation (via systrace,
ptrace, procfs -- or these also belong in kernel?). Also, there are
few securelevel impacts that are located in MD code that I haven't
yet checked out thoroughly.

So:


IIUC, you mean to create several listeners that would each be in charge
of making a decision for different "knobs", and defer requests
otherwise?

If so, to what scope should these listeners be attached to?


It's not really "make securelevel a bitmap", but introduce a new
variable that'll store the information kauth(9) will refer to when a
request is made.

If now there's an "int securelevel" kernel code can check before
granting access to, say, open the raw memory device; if we are splitting
the knobs, we need a place to store the values for all these knobs.

Where else would information such as "modifications to the packet
filter rules are disallowed" will be kept? (granted, that's got to
do more with the security model used; let's assume "traditional Unix"
for the context ;)

...or am I not understanding you correctly?

-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