OSDN Git Service

Merge 4.9.174 into android-4.9
authorGreg Kroah-Hartman <gregkh@google.com>
Wed, 8 May 2019 05:33:59 +0000 (07:33 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 8 May 2019 05:33:59 +0000 (07:33 +0200)
Changes in 4.9.174
ALSA: line6: use dynamic buffers
ipv4: ip_do_fragment: Preserve skb_iif during fragmentation
ipv6/flowlabel: wait rcu grace period before put_pid()
ipv6: invert flowlabel sharing check in process and user mode
packet: validate msg_namelen in send directly
bnxt_en: Improve multicast address setup logic.
net: phy: marvell: Fix buffer overrun with stats counters
x86/suspend: fix false positive KASAN warning on suspend/resume
mm/kasan: Switch to using __pa_symbol and lm_alias
x86/unwind: Disable KASAN checks for non-current tasks
arm64: kasan: avoid bad virt_to_pfn()
kasan: add a prototype of task_struct to avoid warning
kasan: avoid -Wmaybe-uninitialized warning
kasan: remove redundant initialization of variable 'real_size'
arm64: proc: Set PTE_NG for table entries to avoid traversing them twice
kasan: prevent compiler from optimizing away memset in tests
arm64: mm: print out correct page table entries
arm64: mm: don't print out page table entries on EL0 faults
caif: reduce stack size with KASAN
USB: yurex: Fix protection fault after device removal
USB: w1 ds2490: Fix bug caused by improper use of altsetting array
usb: usbip: fix isoc packet num validation in get_pipe
USB: core: Fix unterminated string returned by usb_string()
USB: core: Fix bug caused by duplicate interface PM usage counter
nvme-loop: init nvmet_ctrl fatal_err_work when allocate
HID: logitech: check the return value of create_singlethread_workqueue
HID: debug: fix race condition with between rdesc_show() and device removal
rtc: sh: Fix invalid alarm warning for non-enabled alarm
batman-adv: Reduce claim hash refcnt only for removed entry
batman-adv: Reduce tt_local hash refcnt only for removed entry
batman-adv: Reduce tt_global hash refcnt only for removed entry
igb: Fix WARN_ONCE on runtime suspend
net/mlx5: E-Switch, Fix esw manager vport indication for more vport commands
bonding: show full hw address in sysfs for slave entries
net: stmmac: don't overwrite discard_frame status
net: stmmac: fix dropping of multi-descriptor RX frames
net: stmmac: don't log oversized frames
jffs2: fix use-after-free on symlink traversal
debugfs: fix use-after-free on symlink traversal
rtc: da9063: set uie_unsupported when relevant
vfio/pci: use correct format characters
scsi: core: add new RDAC LENOVO/DE_Series device
scsi: storvsc: Fix calculation of sub-channel count
net: hns: fix KASAN: use-after-free in hns_nic_net_xmit_hw()
net: hns: Use NAPI_POLL_WEIGHT for hns driver
net: hns: Fix WARNING when remove HNS driver with SMMU enabled
hugetlbfs: fix memory leak for resv_map
sh: fix multiple function definition build errors
xsysace: Fix error handling in ace_setup
ARM: orion: don't use using 64-bit DMA masks
ARM: iop: don't use using 64-bit DMA masks
perf/x86/amd: Update generic hardware cache events for Family 17h
staging: iio: adt7316: allow adt751x to use internal vref for all dacs
staging: iio: adt7316: fix the dac read calculation
staging: iio: adt7316: fix the dac write calculation
scsi: RDMA/srpt: Fix a credit leak for aborted commands
Input: snvs_pwrkey - initialize necessary driver data before enabling IRQ
selinux: never allow relabeling on context mounts
x86/mce: Improve error message when kernel cannot recover, p2
media: v4l2: i2c: ov7670: Fix PLL bypass register values
Linux 4.9.174

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
13 files changed:
1  2 
Makefile
arch/arm64/mm/fault.c
arch/arm64/mm/kasan_init.c
arch/arm64/mm/proc.S
drivers/infiniband/ulp/srpt/ib_srpt.c
include/linux/kasan.h
include/linux/usb.h
lib/Makefile
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
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc lib/Makefile
@@@ -45,8 -44,9 +45,9 @@@ obj-$(CONFIG_TEST_HEXDUMP) += test_hexd
  obj-y += kstrtox.o
  obj-$(CONFIG_TEST_BPF) += test_bpf.o
  obj-$(CONFIG_TEST_FIRMWARE) += test_firmware.o
 -obj-$(CONFIG_TEST_HASH) += test_hash.o
 +obj-$(CONFIG_TEST_HASH) += test_hash.o test_siphash.o
  obj-$(CONFIG_TEST_KASAN) += test_kasan.o
+ CFLAGS_test_kasan.o += -fno-builtin
  obj-$(CONFIG_TEST_KSTRTOX) += test-kstrtox.o
  obj-$(CONFIG_TEST_LKM) += test_module.o
  obj-$(CONFIG_TEST_RHASHTABLE) += test_rhashtable.o
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");
  }