Thanks for taking the time to reply On Sat, 25 Mar 2006 23:28:28 +0200 Elad Efrat <elad@NetBSD.org> wrote:I somehow thought that the interface allowed LKMs to plug-in "listener" callback hooks, this might have been a wrong assumption. I hope that it isn't news that NetBSD is also used on embedded systems which generally require the securelevels functionality... Such embedded systems can often consist of a low-end ARM based board for instance. Possibly a motivation for it's users to worry more about performance and kernel stack and code size. It wasn't voluntary on my part to repeat what others said, but we probably shared a common concern :) I understand that the traditional behavior of securelevels can be observed with a new implementation under the new framework, but probably at a cost (this cost could be very moderate, we however have to find out). My vision of the interface includes the scope-specific callback functions iterator (which I indeed included in "implementation"). Then of course there are the listeners themselves which can implement the decisions based on wanted factors, if I understand (probably what you mean by implementation). I will reformulate the previous question below the next quote: So the question above should have been: Does a kernel configured as "insecure" avoid even entering the kauth(9) framework, or do they simply find an empty listeners list? In other words, does the new interface affect the performance of insecure kernels as well. I do not understand how using flags, avoiding to iterate over a number of callback functions, calling each of them, can be called a pseudo-performance improvement :) However, as I now read the rest of the thread (which I should have done before replying), it answered this question (functions are much more powerful and will allow fancy features like delegation to a daemon and/or remote centralized server). I unfortunately won't be able to test the code very soon but reading it is on my TODO. If I have any more questions at least they'll be informed ones then :) Thanks again, Matt -- Note: Please only reply on the list, other mail is blocked by default. Private messages from your address can be allowed by first asking.
| 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 | 40 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 |
