LSM: Remove unused arguments from security_path_truncate().
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Wed, 2 Jun 2010 04:24:43 +0000 (13:24 +0900)
committerJames Morris <jmorris@namei.org>
Mon, 2 Aug 2010 05:33:40 +0000 (15:33 +1000)
commitea0d3ab239fba48d6e998b19c28d78f765963007
treec1e20273bf121a4f404ca7ac2a012161b0e0201e
parent3e62cbb8436f6c0cb799c8b7f106de7f662a7b8d
LSM: Remove unused arguments from security_path_truncate().

When commit be6d3e56a6b9b3a4ee44a0685e39e595073c6f0d "introduce new LSM hooks
where vfsmount is available." was proposed, regarding security_path_truncate(),
only "struct file *" argument (which AppArmor wanted to use) was removed.
But length and time_attrs arguments are not used by TOMOYO nor AppArmor.
Thus, let's remove these arguments.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Acked-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: James Morris <jmorris@namei.org>
fs/namei.c
fs/open.c
include/linux/security.h
security/capability.c
security/security.c
security/tomoyo/tomoyo.c