Merge branch 'master' into next
Conflicts:
fs/namei.c
Manually merged per:
diff --cc fs/namei.c
index 734f2b5,bbc15c2..0000000
--- a/fs/namei.c
+++ b/fs/namei.c
@@@ -860,9 -848,8 +849,10 @@@ static int __link_path_walk(const char
nd->flags |= LOOKUP_CONTINUE;
err = exec_permission_lite(inode);
if (err == -EAGAIN)
- err = vfs_permission(nd, MAY_EXEC);
+ err = inode_permission(nd->path.dentry->d_inode,
+ MAY_EXEC);
+ if (!err)
+ err = ima_path_check(&nd->path, MAY_EXEC);
if (err)
break;
@@@ -1525,14 -1506,9 +1509,14 @@@ int may_open(struct path *path, int acc
flag &= ~O_TRUNC;
}
- error = vfs_permission(nd, acc_mode);
+ error = inode_permission(inode, acc_mode);
if (error)
return error;
+
- error = ima_path_check(&nd->path,
++ error = ima_path_check(path,
+ acc_mode & (MAY_READ | MAY_WRITE | MAY_EXEC));
+ if (error)
+ return error;
/*
* An append-only file must be opened in append mode for writing.
*/
Signed-off-by: NJames Morris <jmorris@namei.org>
Showing
Documentation/RCU/rcubarrier.txt
0 → 100644
Documentation/bad_memory.txt
0 → 100644
Documentation/cgroups/memory.txt
0 → 100644
文件已移动
Documentation/dmaengine.txt
0 → 100644
Documentation/hwmon/adt7475
0 → 100644
Documentation/hwmon/f71882fg
0 → 100644
Documentation/hwmon/ltc4245
0 → 100644
Documentation/kbuild/kbuild.txt
0 → 100644
Documentation/kbuild/kconfig.txt
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Documentation/w1/masters/mxc-w1
0 → 100644
此差异已折叠。
Documentation/wimax/README.i2400m
0 → 100644
此差异已折叠。
Documentation/wimax/README.wimax
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
arch/alpha/include/asm/swab.h
0 → 100644
此差异已折叠。
arch/alpha/kernel/.gitignore
0 → 100644
此差异已折叠。
arch/alpha/kernel/binfmt_loader.c
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
arch/arm/include/asm/swab.h
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
arch/avr32/include/asm/swab.h
0 → 100644
此差异已折叠。
arch/avr32/include/asm/syscalls.h
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
arch/blackfin/include/asm/cpu.h
0 → 100644
此差异已折叠。
arch/blackfin/include/asm/ipipe.h
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
arch/blackfin/include/asm/pda.h
0 → 100644
此差异已折叠。
此差异已折叠。
arch/blackfin/include/asm/smp.h
0 → 100644
此差异已折叠。
此差异已折叠。
arch/blackfin/include/asm/swab.h
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
arch/blackfin/kernel/cplbinfo.c
0 → 100644
此差异已折叠。
arch/blackfin/kernel/ipipe.c
0 → 100644
此差异已折叠。
arch/blackfin/kernel/kgdb_test.c
0 → 100644
此差异已折叠。
arch/blackfin/kernel/mcount.S
0 → 100644
此差异已折叠。
arch/blackfin/lib/muldi3.S
0 → 100644
此差异已折叠。
arch/blackfin/lib/muldi3.c
已删除
100644 → 0
此差异已折叠。
arch/blackfin/mach-bf518/Kconfig
0 → 100644
此差异已折叠。
arch/blackfin/mach-bf518/Makefile
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
arch/blackfin/mach-bf518/dma.c
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
arch/blackfin/mach-bf538/Kconfig
0 → 100644
此差异已折叠。
arch/blackfin/mach-bf538/Makefile
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
arch/blackfin/mach-bf538/dma.c
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
arch/blackfin/mach-bf561/atomic.S
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
arch/blackfin/mach-bf561/smp.c
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
arch/blackfin/mach-common/smp.c
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
arch/cris/include/asm/swab.h
0 → 100644
此差异已折叠。
此差异已折叠。
arch/h8300/include/asm/swab.h
0 → 100644
此差异已折叠。
此差异已折叠。
arch/ia64/include/asm/swab.h
0 → 100644
此差异已折叠。
arch/ia64/kvm/kvm_lib.c
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
arch/m68k/include/asm/atomic.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/atomic_mm.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/atomic_no.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/bitops.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/bitops_mm.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/bitops_no.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/bootinfo.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/bug.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/bugs.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/byteorder.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/cache.h
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
arch/m68k/include/asm/checksum.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/current.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/delay.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/div64.h
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
arch/m68k/include/asm/dma.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/elf.h
0 → 100644
此差异已折叠。
文件已移动
arch/m68k/include/asm/entry.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/fb.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/fpu.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/hardirq.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/hw_irq.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/io.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/irq.h
0 → 100644
此差异已折叠。
此差异已折叠。
文件已移动
文件已移动
文件已移动
文件已移动
文件已移动
arch/m68k/include/asm/machdep.h
0 → 100644
此差异已折叠。
此差异已折叠。
文件已移动
arch/m68k/include/asm/mmu.h
0 → 100644
此差异已折叠。
此差异已折叠。
文件已移动
arch/m68k/include/asm/mmu_no.h
0 → 100644
此差异已折叠。
arch/m68k/include/asm/module.h
0 → 100644
此差异已折叠。
文件已移动
文件已移动
arch/m68k/include/asm/page.h
0 → 100644
此差异已折叠。
此差异已折叠。
想要评论请 注册 或 登录