Commit 7e2deb7ce8f662bce877dbfd3b0053e9559c25a3

Authored by Tetsuo Handa
Committed by James Morris
1 parent af4f136056

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

security/tomoyo/securityfs_if.c
... ... @@ -95,6 +95,7 @@
95 95 .poll = tomoyo_poll,
96 96 .read = tomoyo_read,
97 97 .write = tomoyo_write,
  98 + .llseek = noop_llseek,
98 99 };
99 100  
100 101 /**