android_kernel_samsung_msm8976/include/linux
Andrea Arcangeli 3af93eb827 coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping
commit 04f5866e41fb70690e28397487d8bd8eea7d712a upstream.

The core dumping code has always run without holding the mmap_sem for
writing, despite that is the only way to ensure that the entire vma
layout will not change from under it.  Only using some signal
serialization on the processes belonging to the mm is not nearly enough.
This was pointed out earlier.  For example in Hugh's post from Jul 2017:

  https://lkml.kernel.org/r/alpine.LSU.2.11.1707191716030.2055@eggly.anvils

  "Not strictly relevant here, but a related note: I was very surprised
   to discover, only quite recently, how handle_mm_fault() may be called
   without down_read(mmap_sem) - when core dumping. That seems a
   misguided optimization to me, which would also be nice to correct"

In particular because the growsdown and growsup can move the
vm_start/vm_end the various loops the core dump does around the vma will
not be consistent if page faults can happen concurrently.

Pretty much all users calling mmget_not_zero()/get_task_mm() and then
taking the mmap_sem had the potential to introduce unexpected side
effects in the core dumping code.

Adding mmap_sem for writing around the ->core_dump invocation is a
viable long term fix, but it requires removing all copy user and page
faults and to replace them with get_dump_page() for all binary formats
which is not suitable as a short term fix.

For the time being this solution manually covers the places that can
confuse the core dump either by altering the vma layout or the vma flags
while it runs.  Once ->core_dump runs under mmap_sem for writing the
function mmget_still_valid() can be dropped.

Allowing mmap_sem protected sections to run in parallel with the
coredump provides some minor parallelism advantage to the swapoff code
(which seems to be safe enough by never mangling any vma field and can
keep doing swapins in parallel to the core dumping) and to some other
corner case.

In order to facilitate the backporting I added "Fixes: 86039bd3b4e6"
however the side effect of this same race condition in /proc/pid/mem
should be reproducible since before 2.6.12-rc2 so I couldn't add any
other "Fixes:" because there's no hash beyond the git genesis commit.

Because find_extend_vma() is the only location outside of the process
context that could modify the "mm" structures under mmap_sem for
reading, by adding the mmget_still_valid() check to it, all other cases
that take the mmap_sem for reading don't need the new check after
mmget_not_zero()/get_task_mm().  The expand_stack() in page fault
context also doesn't need the new check, because all tasks under core
dumping are frozen.

Link: http://lkml.kernel.org/r/20190325224949.11068-1-aarcange@redhat.com
Fixes: 86039bd3b4e6 ("userfaultfd: add new syscall to provide memory externalization")
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Reported-by: Jann Horn <jannh@google.com>
Suggested-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Jann Horn <jannh@google.com>
Acked-by: Jason Gunthorpe <jgg@mellanox.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
[bwh: Backported to 3.16:
 - Drop changes in Infiniband and userfaultfd
 - In clear_refs_write(), use up_read() as we never upgrade to a write lock
 - Adjust filename, context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
[haggertk: Backport to android/3.4
 - Re-add changes to binder_update_page_range()
 - Drop changes to task_mmu. We don't have soft-dirty bits]
CVE-2019-11599
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>

Change-Id: Ie1dcffd91ea896688e11c9729243e15461eee1a4
2020-04-03 21:59:11 +02:00
..
amba
battery Import T813XXS2BRC2 kernel source changes 2018-05-26 00:39:42 +02:00
bcma
bif
byteorder
can
ceph
clk
crush
decompress
dma
extcon
fsl
hsi treewide: Fix typo in Documentation/DocBook 2019-07-27 22:10:20 +02:00
i2c Import latest Samsung release 2017-04-18 03:43:52 +02:00
iio iio:buffer: make length types match kfifo types 2019-07-27 21:52:27 +02:00
input Import latest Samsung release 2017-04-18 03:43:52 +02:00
irqchip
isdn
leds Import latest Samsung release 2017-04-18 03:43:52 +02:00
lockd nlm: Ensure callback code also checks that the files match 2019-07-27 21:43:10 +02:00
mfd Import latest Samsung release 2017-04-18 03:43:52 +02:00
mlx4
mmc Merge tag 'LA.BR.1.3.6-05410-8976.0' of https://source.codeaurora.org/quic/la/kernel/msm-3.10 into HEAD 2018-02-06 13:11:45 +01:00
mtd
muic Import latest Samsung release 2017-04-18 03:43:52 +02:00
netfilter netfilter: x_tables: add and use xt_check_proc_name 2019-07-27 22:08:34 +02:00
netfilter_arp
netfilter_bridge
netfilter_ipv4
netfilter_ipv6
nfsd
phy
pinctrl Import latest Samsung release 2017-04-18 03:43:52 +02:00
platform_data Import latest Samsung release 2017-04-18 03:43:52 +02:00
power
qcom Import latest Samsung release 2017-04-18 03:43:52 +02:00
qdsp6v2
qpnp Import latest Samsung release 2017-04-18 03:43:52 +02:00
raid
regulator Import latest Samsung release 2017-04-18 03:43:52 +02:00
rtc
sched Import latest Samsung release 2017-04-18 03:43:52 +02:00
scsi/ufs scsi: ufs: Fix race condition in ufs qcom debugfs driver 2017-11-08 05:35:09 -08:00
security Import latest Samsung release 2017-04-18 03:43:52 +02:00
sensor Import latest Samsung release 2017-04-18 03:43:52 +02:00
slimbus
soundwire soundwire: Add API to ungroup soundwire slave devices 2016-05-03 04:50:36 -07:00
spi treewide: Fix typo in Documentation/DocBook 2019-07-27 22:10:20 +02:00
ssb
sunrpc
tc_act
tima Import latest Samsung release 2017-04-18 03:43:52 +02:00
unaligned
usb treewide: Fix typo in Documentation/DocBook 2019-07-27 22:10:20 +02:00
uwb
wimax
8250_pci.h
Kbuild Import latest Samsung release 2017-04-18 03:43:52 +02:00
a.out.h
acct.h
acpi.h
acpi_dma.h
acpi_gpio.h
acpi_io.h
acpi_pmtmr.h
adb.h
adfs_fs.h
aer.h
agp_backend.h
agpgart.h
ahci_platform.h
aio.h
akm8963.h
akm8975.h
akm09911.h
alarmtimer.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
altera_jtaguart.h
altera_uart.h
amd-iommu.h
amifd.h
amifdreg.h
amigaffs.h
android_aid.h
anon_inodes.h
apm-emulation.h
apm_bios.h
apple_bl.h
arcdevice.h
arm-cci.h
ashmem.h
asn1.h
asn1_ber_bytecode.h
asn1_decoder.h
async.h
async_tx.h
ata.h libata: fix HDIO_GET_32BIT ioctl 2016-03-09 15:31:54 -08:00
ata_platform.h
atalk.h
ath9k_platform.h
atm.h
atm_suni.h
atm_tcp.h
atmdev.h
atmel-mci.h
atmel-pwm-bl.h
atmel-ssc.h
atmel_pdc.h
atmel_pwm.h
atmel_serial.h
atmel_tc.h
atomic.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
attribute_container.h
audit.h
auto_dev-ioctl.h
auto_fs.h
auxvec.h
average.h
avtimer_kernel.h
b1pcmcia.h
backing-dev.h
backlight.h
balloon_compaction.h
basic_mmio_gpio.h
batterydata-interface.h
batterydata-lib.h
bcd.h
bch.h
bcm47xx_wdt.h
bfin_mac.h
binfmts.h
bio.h
bit_spinlock.h
bitmap.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
bitops.h
bitrev.h
blk-iopoll.h
blk_types.h
blkdev.h BACKPORT: block: add blk_rq_set_block_pc() 2017-04-22 23:03:01 +02:00
blktrace_api.h
blockgroup_lock.h
bluetooth-power.h
bma150.h
bootmem.h
bottom_half.h
brcmphy.h
bsearch.h
bsg-lib.h
bsg.h
btree-128.h
btree-type.h
btree.h
btrfs.h
buffer_head.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
bug.h
c2port.h
cache.h
capability.h cred/userns: define current_user_ns() as a function 2019-07-27 21:43:40 +02:00
cb710.h
cciss_ioctl.h
cdev.h
cdrom.h
cfag12864b.h
cgroup.h
cgroup_subsys.h block: cgroups, kconfig, build bits for BFQ-v7r8-3.10.8+ 2017-04-18 04:37:19 +02:00
ci-bridge-spi.h
circ_buf.h
cleancache.h
clk-private.h
clk-provider.h
clk.h
clkdev.h
clksrc-dbx500-prcmu.h
clockchips.h tick: Fixup more fallout from hrtimer broadcast mode 2019-12-21 20:00:43 +01:00
clocksource.h
cm4000_cs.h
cm36283.h
cn_proc.h
cnt32_to_63.h
coda.h
coda_psdev.h
com20020.h
compaction.h
compat.h
compiler-gcc.h This is the 3.10.102 stable release 2017-04-18 17:22:08 +02:00
compiler-intel.h
compiler.h kernel: make READ_ONCE() valid on const arguments 2019-07-27 22:08:50 +02:00
completion.h
concap.h
configfs.h
connector.h
console.h printk: do cond_resched() between lines while outputting to consoles 2019-07-27 21:41:46 +02:00
console_struct.h
consolemap.h
context_tracking.h
cordic.h
coredump.h
coresight-cti.h
coresight-stm.h
coresight.h
cper.h
cpu.h
cpu_cooling.h
cpu_pm.h
cpu_rmap.h
cpufeature.h
cpufreq.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
cpufreq_limit.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
cpuidle.h
cpumask.h sched/fair, cpumask: Export for_each_cpu_wrap() 2019-07-27 21:44:52 +02:00
cpuset.h sched/cpuset/pm: Fix cpuset vs. suspend-resume bugs 2019-07-27 22:08:19 +02:00
cramfs_fs.h
cramfs_fs_sb.h
crash_dump.h
crc-ccitt.h
crc-itu-t.h
crc-t10dif.h
crc7.h
crc8.h
crc16.h
crc32.h
crc32c.h
cred.h kernel: make groups_sort calling a responsibility group_info allocators 2019-07-27 21:46:18 +02:00
crypto.h crypto: hash - prevent using keyed hashes without setting key 2019-07-27 21:49:17 +02:00
cryptohash.h
cryptouser.h
cs5535.h
ctype.h
cuda.h
cyclades.h
cycx_x25.h
danipc_ioctl.h
davinci_emac.h
dca.h
dcache.h it's still short a few helpers, but infrastructure should be OK now... 2018-12-03 11:52:03 +01:00
dccp.h
dcookies.h
debug_locks.h
debugfs.h
debugobjects.h
delay.h
delayacct.h
devfreq.h
device-mapper.h CHROMIUM: dm: boot time specification of dm= 2016-05-18 14:36:11 +05:30
device.h
device_cgroup.h
devpts_fs.h pty: make sure super_block is still valid in final /dev/tty close 2016-02-25 11:57:46 -08:00
diagchar.h
digsig.h
dio.h
dirent.h
dlm.h
dlm_plock.h
dm-dirty-log.h
dm-io.h
dm-kcopyd.h
dm-region-hash.h
dm9000.h
dma-attrs.h
dma-buf.h
dma-contiguous.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
dma-debug.h
dma-direction.h
dma-mapping.h scsi: dma-mapping: always provide dma_get_cache_alignment 2019-07-27 21:46:11 +02:00
dma-removed.h
dma_remapping.h
dmaengine.h
dmapool.h
dmar.h
dmi.h
dnotify.h
dns_resolver.h
dqblk_qtree.h
dqblk_v1.h
dqblk_v2.h
drbd.h
drbd_genl.h
drbd_genl_api.h
drbd_limits.h
ds1286.h
ds2782_battery.h
ds17287rtc.h
dtlk.h
dw_apb_timer.h
dw_dmac.h
dynamic_debug.h
dynamic_queue_limits.h
earlycpio.h
ecm_ipa.h
ecryptfs.h
edac.h
edd.h
edma.h
eeprom_93cx6.h
eeprom_93xx46.h
efi-bgrt.h
efi.h This is the 3.10.101 stable release 2017-04-18 17:17:55 +02:00
efs_vh.h
eisa.h
elevator.h
elf-fdpic.h
elf.h
elfcore-compat.h
elfcore.h
elfnote.h
enclosure.h ses: fix additional element traversal bug 2016-03-03 15:06:22 -08:00
epm_adc.h
err.h
errno.h
errqueue.h
ese_p3.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
esoc_client.h
etherdevice.h
ethtool.h
eventfd.h
eventpoll.h
evm.h
export.h
exportfs.h
ext2_fs.h
extcon.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
external_notify.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
f2fs_fs.h UPSTREAM: f2fs: sanity check segment count 2017-09-08 18:49:20 +00:00
f75375s.h
falloc.h
fanotify.h
fault-inject.h
fb.h video/fb: Propagate error code from failing to unregister conflicting fb 2019-07-27 22:09:10 +02:00
fcdevice.h
fcntl.h
fd.h
fddidevice.h
fdtable.h vfs, fdtable: Prevent bounds-check bypass via speculative execution 2019-07-27 21:49:27 +02:00
fec.h
file.h
filter.h tcp: take care of truncations done by sk_filter() 2019-07-27 21:42:33 +02:00
fips.h
firewire.h
firmware-map.h
firmware.h
fixp-arith.h
flashlight.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
flat.h
flex_array.h
flex_proportions.h
font.h
freezer.h
frontswap.h
fs.h vfs: rename I_MUTEX_QUOTA now that it's not used for quotas 2019-07-27 22:11:22 +02:00
fs_enet_pd.h
fs_stack.h
fs_struct.h
fs_uart_pd.h
fscache-cache.h
fscache.h fscache: Fix the default for fscache_maybe_release_page() 2019-07-27 21:46:24 +02:00
fscrypt_common.h fscrypt: catch up to v4.11-rc1 2017-03-09 11:48:12 -08:00
fscrypt_notsupp.h fscrypt: catch up to v4.11-rc1 2017-03-09 11:48:12 -08:00
fscrypt_supp.h fscrypt: catch up to v4.11-rc1 2017-03-09 11:48:12 -08:00
fsl-diu-fb.h
fsl_devices.h
fsl_hypervisor.h
fsm_rfic.h
fsnotify.h BACKPORT: dentry name snapshots 2017-12-22 20:25:56 +00:00
fsnotify_backend.h
ftrace.h
ftrace_event.h
ftrace_irq.h
futex.h
gameport.h
gcd.h
genalloc.h
generic_acl.h
genetlink.h
genhd.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
genl_magic_func.h
genl_magic_struct.h
getcpu.h
gfp.h
gpio-fan.h
gpio-pxa.h
gpio.h
gpio_event.h
gpio_keys.h
gpio_mouse.h
gsmmux.h
hall.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
hardirq.h
hash.h
hashtable.h
hdlc.h
hdlcdrv.h
hdmi.h
hid-debug.h
hid-roccat.h
hid-sensor-hub.h
hid-sensor-ids.h
hid.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
hiddev.h
hidraw.h
highmem.h
highuid.h
hil.h
hil_mlc.h
hippidevice.h
host_notify.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
hp_sdc.h
hpet.h
hrtimer.h hrtimer: Store cpu-number in struct hrtimer_cpu_base 2019-12-21 20:01:04 +01:00
htcpld.h
htirq.h
huge_mm.h
hugetlb.h
hugetlb_cgroup.h
hugetlb_inline.h
hw_breakpoint.h
hw_random.h
hwmon-sysfs.h
hwmon-vid.h
hwmon.h
hwspinlock.h
hyperv.h
i2c-algo-bit.h
i2c-algo-pca.h
i2c-algo-pcf.h
i2c-dev.h
i2c-gpio.h
i2c-mux-gpio.h
i2c-mux-pinctrl.h
i2c-mux.h
i2c-ocores.h
i2c-omap.h
i2c-pca-platform.h
i2c-pnx.h
i2c-pxa.h
i2c-smbus.h
i2c-xiic.h
i2c.h
i2o.h
i7300_idle.h
i8042.h
i8253.h
i82593.h
icmp.h
icmpv6.h
ide.h
idr.h
ieee80211.h cfg80211: Use const more consistently in for_each_element macros 2019-10-18 20:58:38 +02:00
if_arp.h
if_bridge.h
if_eql.h
if_ether.h
if_fddi.h
if_frad.h
if_link.h
if_ltalk.h
if_macvlan.h
if_phonet.h
if_pppol2tp.h
if_pppolac.h
if_pppopns.h
if_pppox.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
if_team.h
if_tun.h
if_tunnel.h
if_vlan.h
igmp.h igmp: hash a hash table to speedup ip_check_mc_rcu() 2019-07-27 22:08:26 +02:00
ihex.h
ima.h
in.h
in6.h
inet.h
inet_diag.h net: inet: diag: expose the socket mark to privileged processes. 2019-07-27 21:50:56 +02:00
inet_lro.h
inetdevice.h ipv4: expose IPV4_DEVCONF 2019-08-03 00:23:38 +02:00
init.h
init_ohci1394_dma.h
init_task.h
initramfs.h
initrd.h
inotify.h
input-polldev.h
input.h Input: uinput - avoid FF flush when destroying device 2019-07-27 21:45:29 +02:00
integrity.h
intel-iommu.h
intel_mid_dma.h
intel_pmic_gpio.h
interrupt.h
interval_tree.h
interval_tree_generic.h
io-mapping.h
io.h
ioc3.h
ioc4.h
iocontext.h
iommu-helper.h
iommu.h
ion.h
iopoll.h
ioport.h
ioprio.h
iova.h
ip.h
ipa.h
ipack.h
ipc.h
ipc_logging.h
ipc_namespace.h
ipc_router.h
ipc_router_xprt.h
ipmi.h
ipmi_smi.h
ipv6.h ipv6: add option to drop unsolicited neighbor advertisements 2019-08-03 00:24:04 +02:00
ipv6_route.h
irq.h
irq_cpustat.h
irq_work.h
irqchip.h
irqdesc.h Merge tag 'LA.BR.1.3.6-03510-8976.0' into HEAD 2017-04-18 12:11:50 +02:00
irqdomain.h
irqflags.h
irqnr.h
irqreturn.h
isa.h
isapnp.h
iscsi_boot_sysfs.h
iscsi_ibft.h
isdn.h
isdn_divertif.h
isdn_ppp.h
isdnif.h
isicom.h
jbd.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
jbd2.h This is the 3.10.95 stable release 2017-04-18 17:14:54 +02:00
jbd_common.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
jhash.h
jiffies.h
journal-head.h
joystick.h
jump_label.h locking/static_keys: Add static_key_{en,dis}able() helpers 2019-07-27 21:43:12 +02:00
jz4740-adc.h
kallsyms.h
kasan.h
kbd_diacr.h
kbd_kern.h
kbuild.h
kcmp.h
kconfig.h
kcore.h
kd.h
kdb.h
kdebug.h
kdev_t.h
kern_levels.h
kernel-page-flags.h
kernel.h This is the 3.10.102 stable release 2017-04-18 17:22:08 +02:00
kernel_stat.h
kernelcapi.h
kexec.h
key-type.h
key.h KEYS: prevent creating a different user's keyrings 2019-07-27 21:44:21 +02:00
keyboard.h
keychord.h
keycombo.h
keyreset.h
kfifo.h treewide: Fix typo in Documentation/DocBook 2019-07-27 22:10:20 +02:00
kgdb.h
khugepaged.h mm, thp: fix collapsing of hugepages on madvise 2019-07-27 22:08:13 +02:00
klist.h
kmemcheck.h
kmemleak.h
kmod.h
kmsg_dump.h
knox_kap.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
kobj_map.h
kobject.h
kobject_ns.h
kprobes.h
kref.h
ks0108.h
ks8842.h
ks8851.h
ks8851_mll.h
ksm.h
kthread.h
ktime.h
kvm_host.h
kvm_para.h
kvm_types.h
l2tp.h
lapb.h
latencytop.h
lcd.h
lcm.h
led-lm3530.h
leds-aw2013.h
leds-bd2802.h
leds-ktd2026.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
leds-lp3944.h
leds-max77843-rgb.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
leds-pca9532.h
leds-pm8xxx.h
leds-pmic8058.h
leds-qpnp-wled.h
leds-regulator.h
leds-s2mpb02.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
leds-s2mu005-rgb.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
leds-s2mu005.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
leds-sm5705-rgb.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
leds-sm5705.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
leds-tca6507.h
leds.h
leds_pwm.h
lglock.h
lguest.h
lguest_launcher.h
libata.h libata: Align ata_device's id on a cacheline 2016-03-09 15:31:54 -08:00
libfdt.h
libfdt_env.h
libps2.h
license.h
linkage.h
linux_logo.h
lis3lv02d.h
list.h
list_bl.h
list_nulls.h
list_sort.h
llc.h
llist.h
lockdep.h locking: Add WARN_ON_ONCE lock assertion 2019-07-27 21:52:20 +02:00
log2.h
loop.h Revert "block/loop: Use global lock for ioctl() operation." 2019-07-27 22:10:39 +02:00
lp.h
lru_cache.h
lsm_audit.h security: add ioctl specific auditing to lsm_audit 2016-05-18 14:34:39 +05:30
lz4.h UPSTREAM: lz4: fix wrong compress buffer size for 64-bits 2019-07-27 21:47:56 +02:00
lzo.h
m48t86.h
mISDNdsp.h
mISDNhw.h
mISDNif.h
mailbox.h
maple.h
marvell_phy.h
math64.h UPSTREAM: math64: New separate div64_u64_rem helper 2016-05-18 14:36:10 +05:30
max17040_battery.h
mbcache.h
mbus.h
mc6821.h
mc146818rtc.h
mcs_spinlock.h
mdio-bitbang.h
mdio-gpio.h
mdio-mux.h
mdio.h
mdss_io_util.h
mei_cl_bus.h
memblock.h
memcontrol.h
memory.h
memory_hotplug.h
mempolicy.h mm: mempolicy: turn vma_set_policy() into vma_dup_policy() 2019-07-27 22:08:11 +02:00
mempool.h
memstick.h
mg_disk.h
mhl_8334.h
mhl_defs.h
mhl_devcap.h
micrel_phy.h
migrate.h mm: Export migrate_page_move_mapping and migrate_page_copy 2019-07-27 21:41:54 +02:00
migrate_mode.h
mii.h
miscdevice.h
mm.h mm: introduce vma_is_anonymous(vma) helper 2019-07-27 22:11:11 +02:00
mm_inline.h
mm_types.h memcg: kill CONFIG_MM_OWNER 2019-07-27 22:09:28 +02:00
mman.h
mmdebug.h
mmiotrace.h
mmu_context.h
mmu_notifier.h
mmzone.h Revert "android/lowmemorykiller: Selectively count free CMA pages" 2019-07-27 22:09:47 +02:00
mnt_namespace.h
mod_devicetable.h This is the 3.10.102 stable release 2017-04-18 17:22:08 +02:00
module.h This is the 3.10.101 stable release 2017-04-18 17:17:55 +02:00
moduleloader.h
moduleparam.h param: hand arguments after -- straight to init 2019-07-27 22:10:44 +02:00
mount.h BACKPORT: smarter propagate_mnt() 2019-07-27 21:51:52 +02:00
mpage.h
mpi.h
mroute.h ipmr, ip6mr: fix scheduling while atomic and a deadlock with ipmr_get_route 2019-07-27 21:42:37 +02:00
mroute6.h ipmr, ip6mr: fix scheduling while atomic and a deadlock with ipmr_get_route 2019-07-27 21:42:37 +02:00
msdos_fs.h
msg.h
msi.h
msm-bus-board.h
msm-bus.h
msm-core-interface.h
msm-sps.h
msm_adreno_devfreq.h
msm_audio_ion.h
msm_bcl.h
msm_bus_rules.h
msm_ep_pcie.h
msm_hdmi.h
msm_iommu_domains.h
msm_ion.h
msm_kgsl.h
msm_mdp.h
msm_mhi.h
msm_pcie.h
msm_remote_spinlock.h
msm_rtb.h
msm_smd_pkt.h
msm_ssbi.h
msm_thermal.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
msm_tsens.h
mst_ctrl.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
mutex-debug.h
mutex.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
mv643xx.h
mv643xx_eth.h
mv643xx_i2c.h
mxm-wmi.h
n_r3964.h
namei.h vfs: Add permission2 for filesystems with per mount permissions 2018-02-06 13:12:19 +01:00
nbd.h
net.h net_dbg_ratelimited: turn into no-op when !DEBUG 2019-07-27 22:07:54 +02:00
netdev_features.h
netdevice.h net: dev: Use unsigned integer as an argument to left-shift 2020-02-12 22:53:24 +01:00
netfilter.h
netfilter_bridge.h
netfilter_ipv4.h
netfilter_ipv6.h
netlink.h BACKPORT: netlink: add a start callback for starting a netlink dump 2019-07-27 21:51:36 +02:00
netpoll.h
nfs.h
nfs3.h
nfs4.h
nfs_fs.h nfs: fix nfs_size_to_loff_t 2016-03-03 15:06:24 -08:00
nfs_fs_i.h
nfs_fs_sb.h
nfs_idmap.h
nfs_iostat.h
nfs_page.h
nfs_xdr.h
nfsacl.h
nilfs2_fs.h
nl802154.h
nls.h
nmi.h
node.h
nodemask.h
nospec.h nospec: Allow index argument to have const-qualified type 2019-07-27 21:49:25 +02:00
notifier.h
nsc_gpio.h
nsproxy.h Rename nsproxy.pid_ns to nsproxy.pid_ns_for_children 2019-07-27 22:10:33 +02:00
ntb.h
nubus.h
numa.h
nvme.h
nvram.h
nwpserial.h
nx842.h
of.h of: of_property_read_bool: Increase WARN info 2019-07-27 21:45:55 +02:00
of_address.h
of_batterydata.h
of_coresight.h
of_device.h
of_dma.h
of_fdt.h
of_gpio.h
of_i2c.h
of_iommu.h
of_irq.h
of_mdio.h
of_mtd.h
of_net.h
of_pci.h
of_pdt.h
of_platform.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
of_reserved_mem.h
of_slimbus.h
of_spmi.h
oid_registry.h
olpc-ec.h
omap-dma.h
omap-iommu.h
omapfb.h
oneshot_sync.h
oom.h
openvswitch.h
oprofile.h
osq_lock.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
oxu210hp.h
p61.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
padata.h
page-debug-flags.h
page-flags-layout.h
page-flags.h
page-isolation.h mm: add zone counter for cma pages 2019-07-27 21:51:09 +02:00
page_cgroup.h
pageblock-flags.h
pagemap.h fix fault_in_multipages_...() on architectures with no-op access_ok() 2019-07-27 21:42:14 +02:00
pagevec.h
parport.h
parport_pc.h
parser.h
pata_arasan_cf_data.h
patchkey.h
path.h
pch_dma.h
pci-acpi.h
pci-aspm.h
pci-ats.h
pci-dma.h
pci.h This is the 3.10.102 stable release 2017-04-18 17:22:08 +02:00
pci_hotplug.h
pci_ids.h
pcieport_if.h
pda_power.h
percpu-defs.h
percpu-rwsem.h
percpu.h
percpu_counter.h
perf_event.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
perf_regs.h
personality.h
pfn.h
pft.h
phonedev.h
phonet.h
phy.h
phy_fixed.h
pid.h kernel/fork.c:copy_process(): don't add the uninitialized child to thread/task/pid lists 2019-07-27 22:10:32 +02:00
pid_namespace.h
pim.h
pipe_fs_i.h splice: don't merge into linked buffers 2019-07-27 22:11:20 +02:00
pktcdvd.h
platform_device.h
plist.h
pm.h
pm2301_charger.h
pm_clock.h
pm_domain.h
pm_opp.h
pm_qos.h
pm_runtime.h
pm_wakeup.h
pmic8058-othc.h
pmic8058-pwm.h
pmic8058-xoadc.h
pmu.h
pn547.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
pnfs_osd_xdr.h
pnp.h
poison.h include/linux/poison.h: fix LIST_POISON{1,2} offset 2016-06-07 10:42:52 +02:00
poll.h
posix-clock.h
posix-timers.h posix-timers: Sanitize overrun handling 2019-07-27 21:53:21 +02:00
posix_acl.h Merge tag 'LA.BR.1.3.6-03910-8976.0' of https://source.codeaurora.org/quic/la/kernel/msm-3.10 into HEAD 2017-05-26 13:28:48 +02:00
posix_acl_xattr.h
power_supply.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
ppp-comp.h
ppp_channel.h
ppp_defs.h
pps-gpio.h
pps_kernel.h
preempt.h
prefetch.h
printk.h
prio_heap.h
proc_avc.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
proc_fs.h
proc_ns.h
profile.h
projid.h
proportions.h
pstore.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
pstore_ram.h
pti.h
ptp_classify.h
ptp_clock_kernel.h
ptrace.h ptrace: revert "Prepare to fix racy accesses on task breakpoints" 2019-07-27 22:09:55 +02:00
pvclock_gtod.h
pwm.h
pwm_backlight.h
pxa2xx_ssp.h
pxa168_eth.h
qcom-spi.h
qcom_iommu.h
qcom_tspp.h
qcomwlan_secif.h
qcrypto.h
qfp_fuse.h
qmi_encdec.h
qmp_sphinx_instrumentation.h
qnx6_fs.h
qpnp-misc.h
qpnp-revid.h
quicklist.h
quota.h
quotaops.h
radix-tree.h radix-tree: fix oops after radix_tree_iter_retry 2016-02-25 11:57:49 -08:00
raid_class.h
ramfs.h
random.h BACKPORT: random32: add prandom_reseed_late() and call when nonblocking pool becomes initialized 2017-09-08 18:50:06 +00:00
range.h
ratelimit.h
rational.h
rbtree.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
rbtree_augmented.h
rculist.h Add hlist_add_tail_rcu() (Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net) 2019-07-27 22:08:59 +02:00
rculist_bl.h
rculist_nulls.h
rcupdate.h
rcutiny.h
rcutree.h
reboot.h
reciprocal_div.h
regmap.h
regset.h
relay.h
remote_spinlock.h
remoteproc.h
res_counter.h
reset-controller.h
reset.h
resource.h
resume-trace.h
rfkill-gpio.h
rfkill-regulator.h
rfkill.h
ring_buffer.h tracing: kdb: Fix ftdump to not sleep 2019-07-27 22:10:01 +02:00
rio.h
rio_drv.h
rio_ids.h
rio_regs.h
rmap.h mm: replace vma_lock_anon_vma with anon_vma_lock_read/write 2019-07-27 22:08:15 +02:00
rndis.h
rndis_ipa.h
root_dev.h
rotary_encoder.h
rpmsg.h
rq_stats.h
rslib.h
rtc-ds2404.h
rtc-v3020.h
rtc.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
rtmutex.h
rtnetlink.h
rwlock.h
rwlock_api_smp.h
rwlock_types.h
rwsem-spinlock.h
rwsem.h
rxrpc.h
s3c_adc_battery.h
sa11x0-dma.h
scatterlist.h
scc.h
sched.h coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping 2020-04-03 21:59:11 +02:00
sched_clock.h
screen_info.h
sctp.h
scx200.h
scx200_gpio.h
sdla.h
sec_bsp.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
sec_class.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
sec_incell.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
sec_jack.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
sec_mux_sel.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
sec_nfc.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
sec_sysfs.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
seccomp.h
secgpio_dvs.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
securebits.h
security.h Add security hooks to binder and implement the hooks for SELinux. 2018-02-06 13:12:15 +01:00
seemp_instrumentation.h
selection.h
selinux.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
sem.h
semaphore.h
sensors.h
seq_file.h Make file credentials available to the seqfile interfaces 2019-07-27 22:05:58 +02:00
seq_file_net.h
seqlock.h
serial.h
serial_8250.h
serial_core.h
serial_max3100.h
serial_mfd.h
serial_pnx8xxx.h
serial_s3c.h
serial_sci.h
serio.h
sfi.h
sfi_acpi.h
sh_clk.h
sh_dma.h
sh_eth.h
sh_intc.h
sh_timer.h
shdma-base.h
shm.h
shmem_fs.h
show_mem_notifier.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
shrinker.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
signal.h signals: introduce kernel_sigaction() 2019-07-27 22:10:27 +02:00
signalfd.h
sirfsoc_dma.h
sizes.h
skbuff.h treewide: Fix typo in Documentation/DocBook 2019-07-27 22:10:20 +02:00
slab.h
slab_def.h
slob_def.h
slub_def.h
sm501-regs.h
sm501.h
smc91x.h
smc911x.h
smfled.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
smp.h
smpboot.h
smsc911x.h
smsc_hub.h
smscphy.h
smux.h
sock_diag.h net: diag: Add the ability to destroy a socket. 2016-05-18 14:36:07 +05:30
socket.h
sonet.h
sony-laptop.h
sonypi.h
sort.h
sound.h
soundcard.h
spinlock.h
spinlock_api_smp.h
spinlock_api_up.h
spinlock_types.h
spinlock_types_up.h
spinlock_up.h
splice.h
spmi.h spmi: prevent showing the address of spmidev 2016-08-04 04:47:59 -07:00
srcu.h
ssbi.h
stackprotector.h
stacktrace.h
start_kernel.h
stat.h
statfs.h
static_key.h
stddef.h stddef.h: move offsetofend inside #ifndef/#endif guard, neaten 2019-07-27 21:42:26 +02:00
ste_modem_shm.h
stk3x1x.h
stlog.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
stmmac.h
stmp3xxx_rtc_wdt.h
stmp_device.h
stop_machine.h
string.h string: drop __must_check from strscpy() 2019-07-27 21:52:56 +02:00
string_helpers.h
stringify.h
sudmac.h
sungem_phy.h
sunserialcore.h
superhyway.h
suspend.h PM / Sleep: Print last wakeup source on failed wakeup_count write 2018-05-26 00:39:32 +02:00
svga.h
sw_sync.h
swab.h
swap.h include/linux/swap.h: use offsetof() instead of custom __swapoffset macro 2019-07-27 22:10:08 +02:00
swapfile.h
swapops.h
swiotlb.h
switch.h
sync.h
synclink.h
sys.h
sys_soc.h
syscalls.h BACKPORT: random: introduce getrandom(2) system call 2017-09-08 18:50:11 +00:00
syscore_ops.h
sysctl.h pipe, sysctl: remove pipe_proc_fn() 2019-07-27 21:49:45 +02:00
sysfs.h
syslog.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
sysrq.h Input: FIQ and sysrq default deauthorized 2017-07-01 12:51:54 +02:00
sysv_fs.h
task_io_accounting.h
task_io_accounting_ops.h
task_work.h
taskstats_kern.h
tboot.h
tc.h
tca6416_keypad.h
tcp.h tcp: limit payload size of sacked skbs 2019-07-27 22:11:09 +02:00
tegra-ahb.h
tegra-powergate.h
tegra-soc.h
test-iosched.h
textsearch.h
textsearch_fsm.h
tfrc.h
thermal.h
thread_info.h
threads.h
ti_wilink_st.h
tick.h
tifm.h
timb_dma.h
timb_gpio.h
time-armada-370-xp.h
time.h
timekeeper_internal.h
timer.h time: Remove CONFIG_TIMER_STATS 2017-04-22 23:02:59 +02:00
timerfd.h
timeriomem-rng.h
timerqueue.h
timex.h
topology.h
toshiba.h
tpm.h
tpm_command.h
trace_clock.h
trace_seq.h
tracehook.h tracehook_signal_handler: Remove sig, info, ka and regs 2019-07-27 22:10:19 +02:00
tracepoint.h This is the 3.10.101 stable release 2017-04-18 17:17:55 +02:00
transport_class.h
tsacct_kern.h
tty.h
tty_driver.h
tty_flip.h
tty_ldisc.h
typecheck.h
types.h arm64: fix building without CONFIG_UID16 2016-01-28 21:49:35 -08:00
u64_stats_sync.h
uaccess.h new helper: uaccess_kernel() 2019-07-27 21:53:06 +02:00
ucb1400.h
ucs2_string.h lib/ucs2_string: Add ucs2 -> utf8 helper functions 2016-03-16 08:41:36 -07:00
udp.h
uid_stat.h
uidgid.h kernel: Only expose su when daemon is running 2017-05-15 14:43:52 +00:00
uinput.h
uio.h
uio_driver.h
uprobes.h
usb.h USB: check usb_get_extra_descriptor for proper size 2019-09-11 19:44:53 +02:00
usb_bam.h
usb_notifier.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
usb_notify.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
usb_usual.h
usbdevice_fs.h
user-return-notifier.h
user.h
user_namespace.h
uts.h
utsname.h
uuid.h
uwb.h
vbus_notifier.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
vermagic.h
vexpress.h
vfio.h include/stddef.h: Move offsetofend() from vfio.h to a generic kernel header 2019-07-27 21:42:26 +02:00
vfs.h
vga_switcheroo.h
vgaarb.h
via-core.h
via-gpio.h
via.h
via_i2c.h
video_output.h
videodev2.h
virtio.h
virtio_caif.h
virtio_config.h
virtio_console.h
virtio_mmio.h
virtio_ring.h
virtio_scsi.h
vlynq.h
vm_event_item.h mm,vmacache: add debug data 2019-07-27 22:08:07 +02:00
vm_sockets.h
vmacache.h mm: get rid of vmacache_flush_all() entirely 2019-07-27 22:08:09 +02:00
vmalloc.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
vme.h
vmpressure.h
vmstat.h mm,vmacache: add debug data 2019-07-27 22:08:07 +02:00
vmw_vmci_api.h
vmw_vmci_defs.h
vringh.h
vt.h
vt_buffer.h
vt_kern.h
vtime.h
w1-gpio.h
wait.h
wakelock.h
wakeup_reason.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
wanrouter.h
watchdog.h
wcnss_wlan.h wcnss: Fix buffer overflow in wcnss_prealloc_get 2019-08-04 22:56:49 +02:00
wifi_tiwlan.h
wireless.h
wl12xx.h
wlan_plat.h wlan: Add WLAN_PLAT_AP_FLAG for SOFTAP country code 2016-05-18 14:31:33 +05:30
wm97xx.h
workqueue.h workqueue: Add system wide power_efficient workqueues 2019-07-27 22:11:01 +02:00
writeback.h
xattr.h
xilinxfb.h
xz.h
yam.h
z2_battery.h
zbud.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
zconf.h
zlib.h
zorro.h
zorro_ids.h
zpool.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
zsmalloc.h Import latest Samsung release 2017-04-18 03:43:52 +02:00
zutil.h