linux-stable/security/tomoyo
Tetsuo Handa 6041e8346f TOMOYO: Return appropriate value to poll().
"struct file_operations"->poll() expects "unsigned int" return value.
All files in /sys/kernel/security/tomoyo/ directory other than
/sys/kernel/security/tomoyo/query and /sys/kernel/security/tomoyo/audit should
return POLLIN | POLLRDNORM | POLLOUT | POLLWRNORM rather than -ENOSYS.
Also, /sys/kernel/security/tomoyo/query and /sys/kernel/security/tomoyo/audit
should return POLLOUT | POLLWRNORM rather than 0 when there is no data to read.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <james.l.morris@oracle.com>
2012-03-15 12:29:18 +11:00
..
.gitignore Security: tomoyo: add .gitignore file 2011-12-12 17:23:18 +11:00
Kconfig TOMOYO: Add socket operation restriction support. 2011-09-14 08:27:05 +10:00
Makefile TOMOYO: Bump version. 2011-09-15 08:14:21 +10:00
audit.c TOMOYO: Return appropriate value to poll(). 2012-03-15 12:29:18 +11:00
common.c TOMOYO: Return appropriate value to poll(). 2012-03-15 12:29:18 +11:00
common.h TOMOYO: Return appropriate value to poll(). 2012-03-15 12:29:18 +11:00
condition.c TOMOYO: Simplify garbage collector. 2011-09-26 10:46:20 +10:00
domain.c TOMOYO: Fix domain transition failure warning. 2011-09-28 11:53:15 +10:00
environ.c TOMOYO: Add environment variable name restriction support. 2011-09-14 08:27:05 +10:00
file.c TOMOYO: Fix make namespacecheck warnings. 2011-09-26 10:46:19 +10:00
gc.c TOMOYO: Fix quota and garbage collector. 2011-10-12 12:15:20 +11:00
group.c TOMOYO: Add socket operation restriction support. 2011-09-14 08:27:05 +10:00
load_policy.c TOMOYO: Update kernel-doc. 2011-07-14 17:50:03 +10:00
memory.c TOMOYO: Remove tomoyo_policy_memory_lock spinlock. 2011-09-26 10:46:22 +10:00
mount.c TOMOYO: Fix mount flags checking order. 2012-03-01 10:23:19 +11:00
network.c TOMOYO: Add socket operation restriction support. 2011-09-14 08:27:05 +10:00
realpath.c vfs: trim includes a bit 2012-01-03 22:57:13 -05:00
securityfs_if.c TOMOYO: Return appropriate value to poll(). 2012-03-15 12:29:18 +11:00
tomoyo.c switch security_path_chmod() to struct path * 2012-01-06 23:16:53 -05:00
util.c TOMOYO: Accept \000 as a valid character. 2012-01-18 10:40:59 +11:00