public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Amol Kumar Lad <amolk@ishoni.com>
Cc: "'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>
Subject: Re: kernel notification to user space task
Date: Fri, 29 Mar 2002 12:06:58 -0800	[thread overview]
Message-ID: <20020329200658.GE14216@kroah.com> (raw)
In-Reply-To: <7CFD7CA8510CD6118F950002A519EA3001067CAA@leonoid.in.ishoni.com>

On Fri, Mar 29, 2002 at 10:50:13PM +0530, Amol Kumar Lad wrote:
> 
> for example..if my driver detects that interface 'eth0' is coming up, it
> should send a indication to user task saying 'network interface eth0 is up'

If this is not just a hypothetical example, this kind of userspace
notification is already present in the kernel.  /sbin/hotplug gets
called when ever any network interface is brought up or down.  See the
documentation at linux-hotplug.sf.net for more information if you're
curious.

thanks,

greg k-h

       reply	other threads:[~2002-03-29 20:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <7CFD7CA8510CD6118F950002A519EA3001067CAA@leonoid.in.ishoni.com>
2002-03-29 20:06 ` Greg KH [this message]
2002-03-29 17:27 kernel notification to user space task Hari Gadi
     [not found] <mailman.1017422340.6661.linux-kernel2news@redhat.com>
2002-03-29 17:27 ` Pete Zaitcev

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=20020329200658.GE14216@kroah.com \
    --to=greg@kroah.com \
    --cc=amolk@ishoni.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox