Re: [evlog-dev] Re: alternate event logging proposal
Larry Kessler (firstname.lastname@example.org)
Tue, 24 Sep 2002 13:27:58 -0700
Jeff Garzik wrote:
> Chris Friesen wrote:
> > Also related is "how can userspace be notified of kernel events?". There
> > is no way for a userspace app to be notified that, for instance, an ATM
> > device got a loss of signal. The drivers print it out, but the
> > userspace app has no clue.
> (sorry for the second reply)
> To address your more general point, a general way to notify interested,
> credentialed (is that a word?) 3rd party processes of device events
> would indeed be useful. Since such events are essential out-of-band
> info, netlink might indeed be applicable.
Event Logging has both a command and an API for apps in user-space to
register for specific events (kernel or userspace). The user must have
read access to the log file and the proper credentials in the allow/deny
file scheme (that's modeled after crontab).
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/