LSM: Remove unused arguments from security_path_truncate().
When commit be6d3e56 "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>
Showing
- fs/namei.c 1 addition, 2 deletionsfs/namei.c
- fs/open.c 2 additions, 3 deletionsfs/open.c
- include/linux/security.h 3 additions, 8 deletionsinclude/linux/security.h
- security/capability.c 1 addition, 2 deletionssecurity/capability.c
- security/security.c 2 additions, 3 deletionssecurity/security.c
- security/tomoyo/tomoyo.c 1 addition, 2 deletionssecurity/tomoyo/tomoyo.c
Loading
Please register or sign in to comment