Lucas De Marchi f1ecf06854 sysctl: add support for poll()
Adding support for poll() in sysctl fs allows userspace to receive
notifications of changes in sysctl entries.  This adds a infrastructure to
allow files in sysctl fs to be pollable and implements it for hostname and
domainname.

[akpm@linux-foundation.org: s/declare/define/ for definitions]
Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Cc: Greg KH <gregkh@suse.de>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-11-02 16:07:02 -07:00
..
2011-03-31 11:26:23 -03:00
2011-09-27 18:08:04 +02:00
2011-08-22 17:41:48 -07:00
2011-10-24 17:22:29 -07:00
2011-09-12 11:47:10 -07:00
2011-07-27 22:21:58 -04:00
2011-11-02 16:06:59 -07:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:47 -07:00
2011-07-26 13:05:28 -04:00
2011-11-02 16:07:02 -07:00
2011-03-10 08:52:07 +01:00
2011-11-02 16:06:58 -07:00
2011-09-27 18:08:04 +02:00
2011-10-31 17:30:44 -07:00
2011-10-31 17:30:44 -07:00
2011-10-31 17:30:45 -07:00
2011-07-26 16:49:47 -07:00
2011-03-21 00:16:08 -04:00
2011-05-26 10:01:43 -06:00
2011-10-28 14:59:00 +02:00
2011-10-28 14:59:00 +02:00
2011-10-31 17:30:44 -07:00
2011-07-25 20:57:11 -07:00
2011-08-03 14:25:24 -10:00
2011-09-27 08:12:33 -07:00
2011-03-14 09:15:28 -04:00
2011-07-18 12:29:43 -04:00