mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Sameer K S" <kssameer@home.com>
To: "Akshat Kapoor" <akshat@mercurykr.com>, <linux-kernel@vger.kernel.org>
Subject: RE: Query - How to Send Signal to application from kernel module !
Date: Tue, 20 Nov 2001 00:05:08 -0800	[thread overview]
Message-ID: <JPEEJKELOKAGJLNKDMJPCEAECJAA.kssameer@home.com> (raw)
In-Reply-To: <001401c17192$ebf8ce80$150d85a5@mercurykr.com>

You might want to check out async notification stuff at
http://www.xml.com/ldd/chapter/book/ch05.html#t4

Sameer.

-----Original Message-----
From: linux-kernel-owner@vger.kernel.org
[mailto:linux-kernel-owner@vger.kernel.org]On Behalf Of Akshat Kapoor
Sent: Monday, November 19, 2001 11:14 PM
To: linux-kernel@vger.kernel.org
Subject: Query - How to Send Signal to application from kernel module !


Hi All,
         I'm writing a network device driver.  I want to communicate with an
application running in user mode. I want to send a signal (using
something like kill) on which the application would be listening.
Subsequently the application will send an IOCTL call to the driver to fetch
the information.
Is it possible in Linux to send  a signal to an application from a driver ?
I've done this in Windows NT but Idont know how to do it in Linux. I
searched
the archives but couldn't find any relevant thread. I tried to use the kill
system call but when I compiled the driver with  <signal.h> it gave me all
sorts of errors. Also the equivalent signal.h in kernel source tree doesn't
have a proto for kill().
Am I missing something ?
Sorry if I'm asking something silly as I'm new to this but can somebody
kindly point me to the right direction ?

TIA,
Regards,
Akshat

-
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/


  reply	other threads:[~2001-11-20  8:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-20  7:13 Akshat Kapoor
2001-11-20  8:05 ` Sameer K S [this message]
2001-11-20  8:21 ` Sebastian Heidl

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=JPEEJKELOKAGJLNKDMJPCEAECJAA.kssameer@home.com \
    --to=kssameer@home.com \
    --cc=akshat@mercurykr.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

all inboxes | Powered by JetHome®