lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <40c00347a27f37e06686be80de0adcf6.squirrel@intranet.cs.nmsu.edu>
Date:	Wed, 12 Aug 2009 08:26:45 -0600
From:	"Rick L. Vinyard, Jr." <rvinyard@...nmsu.edu>
To:	"Linux USB" <linux-usb@...r.kernel.org>,
	"LKML" <linux-kernel@...r.kernel.org>
Subject: Event notification when sysfs attribute changes

I'd like to allow userspace applications to track and display state
changes (without polling) in a driver that exports attributes via sysfs.

What is the best way to notify userspace applications when a sysfs
exported attribute changes?

In particular I wanted to drive the notification in the *_store() function
of the sysfs attribute.

Also, ideally, the mechanism would allow multiple userspace applications
to hook into the notification.

Thanks,

Rick


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ