From: "Bartłomiej Zimoń" <uzi18@o2.pl>
To: linux-kernel@vger.kernel.org
Subject: userspace notification from module
Date: Sat, 02 Jan 2010 13:18:36 +0100 [thread overview]
Message-ID: <4b387f18.307edfdc.4b3f399c.3bc2e@o2.pl> (raw)
Hi List!
My name is Bartłomiej Zimoń.
Need some clue to find solution for above topic.
Have written small kernel module to notify userspace about couple events.
The problem is to choose proper way to send data to userspace.
Use inotify from userspace could be interesting for such data,
but looks like sysfs/procfs doesn't send signal about data changed in file or maybe i'm wrong?
If sysfs/procfs is wrong for that so must create device file, but here secound problem
how to notify that file/buffer has new data?
Please give me some light for such case.
Links to working solutions are also good.
Thanks in advice.
Bartłomiej Zimoń
PLD Linux devel, Kadu Team devel
next reply other threads:[~2010-01-02 12:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-02 12:18 Bartłomiej Zimoń [this message]
2010-01-02 12:36 ` Daniel Borkmann
-- strict thread matches above, loose matches on Subject: below --
2010-01-02 13:29 Bartłomiej Zimoń
2010-01-02 14:04 ` Daniel Borkmann
2010-01-02 12:02 Bartłomiej Zimoń
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=4b387f18.307edfdc.4b3f399c.3bc2e@o2.pl \
--to=uzi18@o2.pl \
--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
Powered by JetHome