All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bob Bennett <Robert.Bennett2@ca.com>
To: Chris Wright <chrisw@osdl.org>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org,
	kgem-devel@lists.sourceforge.net
Subject: Re: [ANNOUNCE] Kernel Generalized Event Management
Date: Tue, 31 Aug 2004 11:29:43 -0400	[thread overview]
Message-ID: <1093966183.22744.125.camel@benro02lx.ca.com> (raw)
In-Reply-To: <20040830153942.C1973@build.pdx.osdl.net>

On Mon, 2004-08-30 at 18:39, Chris Wright wrote:

> So, why so much patch to do what's already available in the kernel?  With
> LSM, plus audit, you can generate events that userspace can consume via
> netlink w/out this /proc stuff, and sys_call_table symbol lookup stuff,
> the kernel hooks, etc.
> 
I am looking into netlink implementation.  If it performs better, there
is no reason not to use it.  My intention is to provide a method for
handling _synchronous_ event notification, in a general enough way so
that it can be useful to a variety of userspace applications, and be
reasonably simple for an app to use.  The /proc implementation filled
that need.  Additionally, with netlink, it looks like I will need a
dedicated kernel thread that receives responses on the socket and wakes
up waiting tasks.  

It appears that Robert Love's Kernel Events Layer project is attempting
to address a lot of these event management issues.  An alternative is to
build upon this project to support synchronous event handling as well as
the event broadcasting that it performs now. 

As for hooks, LSM and audit do provide all the callouts I need for
generating events in 2.6.  The module that did sys_call_table lookup was
developed for working with 2.4 kernels that don't have LSM patch
applied, and should not have been included in the 2.6 patch.   

thanks,
	Bob

> How about starting by showing exactly what pieces are missing in the
> kernel?  This looks like things that can easily be done using existing
> infrastructure.
> 
> thanks,
> -chris


  reply	other threads:[~2004-08-31 15:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-30 22:06 [ANNOUNCE] Kernel Generalized Event Management Bob Bennett
2004-08-30 22:10 ` Christoph Hellwig
2004-08-30 22:24 ` Jeff Garzik
2004-08-30 22:39 ` Chris Wright
2004-08-31 15:29   ` Bob Bennett [this message]
2004-08-31 16:52     ` Robert Love

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1093966183.22744.125.camel@benro02lx.ca.com \
    --to=robert.bennett2@ca.com \
    --cc=akpm@osdl.org \
    --cc=chrisw@osdl.org \
    --cc=kgem-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.