Merge tag 'v4.9.174' into khadas-vim3-4.9.y
authorNick <nick@khadas.com>
Tue, 21 May 2019 09:58:15 +0000 (17:58 +0800)
committerNick <nick@khadas.com>
Tue, 21 May 2019 09:58:15 +0000 (17:58 +0800)
This is the 4.9.174 stable release

 Conflicts:
arch/arm64/include/asm/system_misc.h
arch/arm64/mm/fault.c

15 files changed:
1  2 
Makefile
arch/arm64/include/asm/system_misc.h
arch/arm64/mm/fault.c
arch/arm64/mm/kasan_init.c
arch/arm64/mm/proc.S
drivers/infiniband/ulp/srpt/ib_srpt.c
drivers/usb/core/driver.c
drivers/usb/core/message.c
include/linux/kasan.h
include/linux/usb.h
lib/test_kasan.c
mm/kasan/kasan.c
mm/kasan/report.c
net/ipv4/ip_output.c
security/selinux/hooks.c

diff --cc Makefile
Simple merge
@@@ -40,14 -40,7 +40,14 @@@ void hook_debug_fault_code(int nr, int 
                           int sig, int code, const char *name);
  
  struct mm_struct;
- extern void show_pte(struct mm_struct *mm, unsigned long addr);
 +#ifdef CONFIG_AMLOGIC_USER_FAULT
 +extern void show_all_pfn(struct task_struct *task, struct pt_regs *regs);
 +#else
 +static inline void show_all_pfn(struct task_struct *task, struct pt_regs *regs)
 +{
 +}
 +#endif /* CONFIG_AMLOGIC_USER_FAULT */
+ extern void show_pte(unsigned long addr);
  extern void __show_regs(struct pt_regs *);
  
  extern void (*arm_pm_restart)(enum reboot_mode reboot_mode, const char *cmd);
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -468,19 -467,12 +468,13 @@@ static int may_context_mount_inode_rela
        return rc;
  }
  
- static int selinux_is_sblabel_mnt(struct super_block *sb)
+ static int selinux_is_genfs_special_handling(struct super_block *sb)
  {
-       struct superblock_security_struct *sbsec = sb->s_security;
-       return sbsec->behavior == SECURITY_FS_USE_XATTR ||
-               sbsec->behavior == SECURITY_FS_USE_TRANS ||
-               sbsec->behavior == SECURITY_FS_USE_TASK ||
-               sbsec->behavior == SECURITY_FS_USE_NATIVE ||
-               /* Special handling. Genfs but also in-core setxattr handler */
-               !strcmp(sb->s_type->name, "sysfs") ||
+       /* Special handling. Genfs but also in-core setxattr handler */
+       return  !strcmp(sb->s_type->name, "sysfs") ||
                !strcmp(sb->s_type->name, "pstore") ||
                !strcmp(sb->s_type->name, "debugfs") ||
 +              !strcmp(sb->s_type->name, "tracefs") ||
                !strcmp(sb->s_type->name, "rootfs");
  }