Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 24 Sep 2002 16:24:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 24 Sep 2002 16:24:13 -0400 Received: from e5.ny.us.ibm.com ([32.97.182.105]:64991 "EHLO e5.ny.us.ibm.com") by vger.kernel.org with ESMTP id ; Tue, 24 Sep 2002 16:24:12 -0400 Message-ID: <3D90CACE.595EA229@us.ibm.com> Date: Tue, 24 Sep 2002 13:27:58 -0700 From: Larry Kessler X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.19 i686) X-Accept-Language: en MIME-Version: 1.0 To: Jeff Garzik CC: Chris Friesen , Rusty Russell , linux-kernel mailing list , Alan Cox , cgl_discussion mailing list , evlog mailing list , Hien Nguyen , James Keniston , Mike Sullivan Subject: Re: [evlog-dev] Re: alternate event logging proposal References: <20020924073051.363D92C1A7@lists.samba.org> <3D90C183.5020806@pobox.com> <3D90C3B0.8090507@nortelnetworks.com> <3D90C670.90508@pobox.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1145 Lines: 27 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). Larry Kessler http://evlog.sourceforge.net/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/