aboutsummaryrefslogtreecommitdiffstats
path: root/security/tomoyo/common.h
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2010-06-24 23:22:09 -0400
committerJames Morris <jmorris@namei.org>2010-08-02 01:34:55 -0400
commit0849e3ba53c3ef603dffa9758a73e07ed186a937 (patch)
tree5aaaa02db9be90287bfcc6e00e48d0b50c18d6cd /security/tomoyo/common.h
parente2bf69077acefee5247bb661faac2552d29ba7ba (diff)
TOMOYO: Add missing poll() hook.
Commit 1dae08c "TOMOYO: Add interactive enforcing mode." forgot to register poll() hook. As a result, /usr/sbin/tomoyo-queryd was doing busy loop. Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/tomoyo/common.h')
-rw-r--r--security/tomoyo/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/tomoyo/common.h b/security/tomoyo/common.h
index b8b2dac656f1..2ffad6138555 100644
--- a/security/tomoyo/common.h
+++ b/security/tomoyo/common.h
@@ -705,6 +705,8 @@ void tomoyo_check_profile(void);
705int tomoyo_open_control(const u8 type, struct file *file); 705int tomoyo_open_control(const u8 type, struct file *file);
706/* Close /sys/kernel/security/tomoyo/ interface. */ 706/* Close /sys/kernel/security/tomoyo/ interface. */
707int tomoyo_close_control(struct file *file); 707int tomoyo_close_control(struct file *file);
708/* Poll operation for /sys/kernel/security/tomoyo/ interface. */
709int tomoyo_poll_control(struct file *file, poll_table *wait);
708/* Read operation for /sys/kernel/security/tomoyo/ interface. */ 710/* Read operation for /sys/kernel/security/tomoyo/ interface. */
709int tomoyo_read_control(struct file *file, char __user *buffer, 711int tomoyo_read_control(struct file *file, char __user *buffer,
710 const int buffer_len); 712 const int buffer_len);