WSL2-Linux-Kernel/security/tomoyo
Tetsuo Handa 8fe7a268b1 tomoyo: Fix pathname calculation breakage.
Commit 7177a9c4b5 ("fs: call rename2 if exists") changed
"struct inode_operations"->rename == NULL if
"struct inode_operations"->rename2 != NULL .

TOMOYO needs to check for both ->rename and ->rename2 , or
a system on (e.g.) ext4 filesystem won't boot.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
2014-08-26 21:52:09 -05:00
..
.gitignore
Kconfig
Makefile
audit.c tomoyo: Use sensible time interface 2014-06-12 16:18:45 +02:00
common.c tomoyo: Use sensible time interface 2014-06-12 16:18:45 +02:00
common.h tomoyo_close_control: don't bother with return value 2013-04-29 15:41:42 -04:00
condition.c userns: Convert tomoyo to use kuid and kgid where appropriate 2012-09-21 03:13:22 -07:00
domain.c
environ.c
file.c
gc.c
group.c
load_policy.c
memory.c
mount.c consitify do_mount() arguments 2012-10-11 20:02:04 -04:00
network.c
realpath.c tomoyo: Fix pathname calculation breakage. 2014-08-26 21:52:09 -05:00
securityfs_if.c tomoyo_close_control: don't bother with return value 2013-04-29 15:41:42 -04:00
tomoyo.c tomoyo: use DEFINE_SRCU() to define tomoyo_ss 2013-03-18 23:53:00 +11:00
util.c mm: use mm->exe_file instead of first VM_EXECUTABLE vma->vm_file 2012-10-09 16:22:18 +09:00