diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2010-07-08 08:57:41 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-08-02 01:34:57 -0400 |
commit | 7e2deb7ce8f662bce877dbfd3b0053e9559c25a3 (patch) | |
tree | 525c2a048a361bda568ff19bf422430999b64984 | |
parent | af4f136056c984b0aa67feed7d3170b958370b2f (diff) |
TOMOYO: Explicitly set file_operations->llseek pointer.
TOMOYO does not deal offset pointer. Thus seek operation makes
no sense. Changing default seek operation from default_llseek()
to no_llseek() might break some applications. Thus, explicitly
set noop_llseek().
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
-rw-r--r-- | security/tomoyo/securityfs_if.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/tomoyo/securityfs_if.c b/security/tomoyo/securityfs_if.c index 9967c1c5c713..e43d5554b506 100644 --- a/security/tomoyo/securityfs_if.c +++ b/security/tomoyo/securityfs_if.c | |||
@@ -95,6 +95,7 @@ static const struct file_operations tomoyo_operations = { | |||
95 | .poll = tomoyo_poll, | 95 | .poll = tomoyo_poll, |
96 | .read = tomoyo_read, | 96 | .read = tomoyo_read, |
97 | .write = tomoyo_write, | 97 | .write = tomoyo_write, |
98 | .llseek = noop_llseek, | ||
98 | }; | 99 | }; |
99 | 100 | ||
100 | /** | 101 | /** |