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
| 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 | 46 minutes ago | Linux kernel |
| Netfilter kernel module | 11 hours ago | Linux kernel |
| serial driver xmit problem | 14 hours ago | Linux kernel |
| Why Windows is better than Linux | 14 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 |
