YAMAMOTO Takashi wrote:But this is a discussion we *already had* and is not the subject of the thread. What *you* think is irrelevant, because *you* are given the choice to use whatever interface you want -- be it a single knob, or multiple knobs. We've been through that before. My initial post started with saying something "as we agreed that some people *do* want it, here is how everyone can be happy". The vnode scope is what Mac OS X uses to take the permission checks out of each file-system specific code and into the VFS layer. We are not implementing it just yet, so this is out of the question. Since this is a single case, IF we do decide to implement what I suggested, and WHEN we get around to have extended attributes working, and IF we decide to have the vnode scope handle the permission/ACL checks all in one place, and WHEN we get around to implementing that too, I promise you that I'll take care of that bit. :) But for now... let's not let *that* be the show-stopper.. Yes, but I'm not sure these are "misc. operations".. I'll give you two examples of operations: the first, is checking if process A can "look into" process B. We use this check for things like filtering ps and netstat output per-user. The second operation is "can this process attach systrace to init". Obviously, this is a process related operation, because the very act of attaching systrace (or ptrace, for that matter) belongs -- clearly -- in the process scope. However, I was suggesting a different point of view: there *is* a difference between these two operations, the difference that justified the creation of securelevel. While the first operation can cause little harm to the system (so what if joeblow gets to see root owned processes?), the second operation suggests that joeblow (or a compromised root) could attach to init, manipulating it, compromising the TCB. This could very easily start an endless discussion. There is no right answer for this one, I'm afraid. On one hand, we can have the securelevel-related operations scattered across several scopes, possibly even handled by different listeners (by playing with "defer"), where we have to pay extra attention not to treat these as just operations that are handled by, say, the generic or process scopes, but rather as operations that if handled incorrectly can compromise the entire machine. Or, we could keep them all in one place, biting the bullet and preaching on the mantra that "although they may be related to packet filter rules, LKMs, or attaching to init", they all have the same common property of being able to modify the TCB of the host -- and all are related to either securelevel or (if we decide to implement) runlevel. To be completely honest -- I don't think that *technically* it matters what we choose to do. We'll get it right either way, I am just presenting both sides of the coin. It would be nice if other people voiced in on this matter so we can move forward. :) See above... Can I assume that's an "okay" for the proposal, then? :) That's not a valid suggestion, I think, because securelevel (or, the traditional BSD securelevel model) does not care for "suser" or not. It is. :) -e. -- Elad Efrat
| Karl Meyer | PROBLEM: 2.6.23-rc "NETDEV WATCHDOG: eth0: transmit timed out" |
| David Miller | Slow DOWN, please!!! |
| Mark Fasheh | [PATCH 0/39] Ocfs2 updates for 2.6.28 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| Shawn O. Pearce | Re: pack operation is thrashing my server |
| Pierre Habouzit | git send-email improvements |
| Matthieu Moy | git push to a non-bare repository |
| Shawn O. Pearce | libgit2 - a true git library |
| Elad Efrat | Integrating securelevel and kauth(9) |
| Hubert Feyrer | Re: Compressed vnd handling tested successfully |
| Lord Isildur | Re: Fork bomb protection patch |
| Matt Thomas | Re: FFS journal |
| Will Maier | cron doesn't run commands in /etc/crontab? |
| Richard Stallman | Real men don't attack straw men |
| Harald Dunkel | Re: Packet Filter: how to keep device names on hardware failure? |
| Jordi Espasa Clofent | Resolving dependencies with pkg_add |
| Question on swap as ramdisk partition | 1 hour 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? | 21 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 |
