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
| Martin Bligh | Re: Unified tracing buffer |
| Ingo Molnar | [announce] "kill the Big Kernel Lock (BKL)" tree |
| Con Kolivas | [PATCH] [RFC] sched: accurate user accounting |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Krzysztof Oledzki | Error: an inet prefix is expected rather than "0/0". |
| Wenji Wu | A Linux TCP SACK Question |
| Ramachandra K | [PATCH 11/13] QLogic VNIC: Driver utility file - implements various utility macros |
| Jay Cliburn | Re: atl1 64-bit => 32-bit DMA borkage (reproducible, bisected) |
git: | |
| Andrew Morton | Untracked working tree files |
| Pierre Habouzit | Re: libgit2 - a true git library |
| Nicolas Vilz 'niv' | git + ssh + key authentication feature-request |
| Martin Langhoff | Re: pack operation is thrashing my server |
| Steve B | SSH brute force attacks no longer being caught by PF rule |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| rancor | How to copy/pipe console buffert to file? |
| Richard Stallman | Real men don't attack straw men |
| Question on swap as ramdisk partition | 42 minutes ago | Linux kernel |
| Netfilter kernel module | 11 hours ago | Linux kernel |
| serial driver xmit problem | 13 hours ago | Linux kernel |
| Why Windows is better than Linux | 13 hours ago | Linux general |
| How can I see my kernel messages in vt12? | 20 hours ago | Linux kernel |
| Grub | 1 day ago | Linux general |
| vmalloc_fault handling in x86_64 | 1 day ago | Linux kernel |
| epoll_wait()ing on epoll FD | 1 day ago | Linux kernel |
| Framebuffer in x86_64 causes problems to multiseat | 1 day ago | Linux kernel |
| Difference between 2.4 and 2.6 regarding thread creation | 2 days ago | Linux general |
