linux-xiaomi-chiron/include/linux
Jann Horn a07279c9a8 binfmt_elf, binfmt_elf_fdpic: use a VMA list snapshot
In both binfmt_elf and binfmt_elf_fdpic, use a new helper
dump_vma_snapshot() to take a snapshot of the VMA list (including the gate
VMA, if we have one) while protected by the mmap_lock, and then use that
snapshot instead of walking the VMA list without locking.

An alternative approach would be to keep the mmap_lock held across the
entire core dumping operation; however, keeping the mmap_lock locked while
we may be blocked for an unbounded amount of time (e.g.  because we're
dumping to a FUSE filesystem or so) isn't really optimal; the mmap_lock
blocks things like the ->release handler of userfaultfd, and we don't
really want critical system daemons to grind to a halt just because
someone "gifted" them SCM_RIGHTS to an eternally-locked userfaultfd, or
something like that.

Since both the normal ELF code and the FDPIC ELF code need this
functionality (and if any other binfmt wants to add coredump support in
the future, they'd probably need it, too), implement this with a common
helper in fs/coredump.c.

A downside of this approach is that we now need a bigger amount of kernel
memory per userspace VMA in the normal ELF case, and that we need O(n)
kernel memory in the FDPIC ELF case at all; but 40 bytes per VMA shouldn't
be terribly bad.

There currently is a data race between stack expansion and anything that
reads ->vm_start or ->vm_end under the mmap_lock held in read mode; to
mitigate that for core dumping, take the mmap_lock in write mode when
taking a snapshot of the VMA hierarchy.  (If we only took the mmap_lock in
read mode, we could end up with a corrupted core dump if someone does
get_user_pages_remote() concurrently.  Not really a major problem, but
taking the mmap_lock either way works here, so we might as well avoid the
issue.) (This doesn't do anything about the existing data races with stack
expansion in other mm code.)

Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: "Eric W . Biederman" <ebiederm@xmission.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Link: http://lkml.kernel.org/r/20200827114932.3572699-6-jannh@google.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-10-16 11:11:21 -07:00
..
amba Partially revert "video: fbdev: amba-clcd: Retire elder CLCD driver" 2020-09-30 16:37:39 +02:00
avf
bcma
byteorder
can
ceph
clk
crush
decompress
device
dma
dsa
extcon
firmware
fpga
fsl bus/fsl-mc: Extend ICID size from 16bit to 32bit 2020-10-02 16:05:02 +02:00
gpio
greybus
hsi
i3c
iio Staging / IIO driver updates for 5.10-rc1 2020-10-15 09:46:23 -07:00
input
irqchip
isdn
lockd
mailbox
mfd Staging / IIO driver updates for 5.10-rc1 2020-10-15 09:46:23 -07:00
mlx4
mlx5 net/mlx5: cmdif, Avoid skipping reclaim pages if FW is not accessible 2020-10-02 10:59:55 -07:00
mmc
mtd
mux
net/intel
netfilter
netfilter_arp
netfilter_bridge
netfilter_ipv4
netfilter_ipv6
perf arm64: perf: Add support caps under sysfs 2020-09-28 14:53:45 +01:00
phy
pinctrl
platform_data dmaengine updates for v5.10-rc1 2020-10-15 14:33:52 -07:00
power
qed
raid
regulator regulator: unexport regulator_lock/unlock() 2020-09-21 17:43:47 +01:00
remoteproc
reset
rpmsg
rtc
sched kernel-clone-v5.9 2020-10-14 14:32:52 -07:00
soc IOMMU Updates for Linux v5.10 2020-10-14 12:08:34 -07:00
soundwire soundwire: enable Data Port test modes 2020-09-23 15:29:29 +05:30
spi
ssb
sunrpc
ulpi
unaligned
usb usb: typec: tcpm: Add support for Sink Fast Role SWAP(FRS) 2020-10-08 09:28:22 +02:00
wimax
8250_pci.h
a.out.h
acct.h
acpi.h ACPI updates for 5.10-rc1 2020-10-14 11:42:04 -07:00
acpi_dma.h
acpi_iort.h
acpi_pmtmr.h
adb.h
adfs_fs.h
adreno-smmu-priv.h
adxl.h
aer.h
agp_backend.h
agpgart.h
ahci-remap.h
ahci_platform.h
aio.h
alarmtimer.h
alcor_pci.h
altera_jtaguart.h
altera_uart.h
amd-iommu.h
anon_inodes.h
apm-emulation.h
apm_bios.h
apple-gmux.h
apple_bl.h
arch_topology.h cpufreq,arm,arm64: restructure definitions of arch_set_freq_scale() 2020-10-08 17:17:27 +02:00
arm-cci.h
arm-smccc.h
arm_sdei.h
armada-37xx-rwtm-mailbox.h
ascii85.h
asn1.h
asn1_ber_bytecode.h
asn1_decoder.h
assoc_array.h
assoc_array_priv.h
async.h
async_tx.h md/raid6: let async recovery function support different page offset 2020-09-24 16:44:44 -07:00
ata.h
ata_platform.h
atalk.h
ath9k_platform.h
atm.h
atm_suni.h
atm_tcp.h
atmdev.h
atmel-isc-media.h
atmel-mci.h
atmel-ssc.h
atmel_pdc.h
atomic-arch-fallback.h
atomic-fallback.h
atomic.h
attribute_container.h
audit.h
auto_dev-ioctl.h
auto_fs.h
auxvec.h
average.h
backing-dev-defs.h
backing-dev.h bdi: replace BDI_CAP_NO_{WRITEBACK,ACCT_DIRTY} with a single flag 2020-09-24 13:43:39 -06:00
backlight.h
badblocks.h
balloon_compaction.h
bcd.h
bch.h
bcm47xx_nvram.h
bcm47xx_sprom.h
bcm47xx_wdt.h
bcm963xx_nvram.h
bcm963xx_tag.h
binfmts.h
bio.h
bit_spinlock.h
bitfield.h
bitmap.h
bitops.h bitops: use the same mechanism for get_count_order[_long] 2020-10-16 11:11:20 -07:00
bitrev.h
bits.h
blk-cgroup.h
blk-crypto.h block: make bio_crypt_clone() able to fail 2020-10-05 10:47:43 -06:00
blk-mq-pci.h
blk-mq-rdma.h
blk-mq-virtio.h
blk-mq.h
blk-pm.h
blk_types.h block-5.10-2020-10-12 2020-10-13 12:12:44 -07:00
blkdev.h kernel.h: split out min()/max() et al. helpers 2020-10-16 11:11:19 -07:00
blkpg.h
blktrace_api.h
blockgroup_lock.h
bma150.h
bootconfig.h
bottom_half.h
bpf-cgroup.h
bpf-netns.h
bpf.h
bpf_lirc.h
bpf_lsm.h
bpf_trace.h
bpf_types.h
bpf_verifier.h
bpfilter.h
brcmphy.h
bsearch.h
bsg-lib.h
bsg.h
btf.h
btf_ids.h
btree-128.h
btree-type.h
btree.h
btrfs.h
buffer_head.h
bug.h
build-salt.h
build_bug.h
bvec.h kernel.h: split out min()/max() et al. helpers 2020-10-16 11:11:19 -07:00
c2port.h
cache.h
cacheinfo.h
capability.h
cb710.h
cciss_ioctl.h
ccp.h
cdev.h
cdrom.h
cfag12864b.h
cgroup-defs.h
cgroup.h
cgroup_rdma.h
cgroup_subsys.h
circ_buf.h
cleancache.h
clk-provider.h
clk.h
clkdev.h
clockchips.h
clocksource.h
cm4000_cs.h
cma.h
cmdline-parser.h
cn_proc.h
cnt32_to_63.h
coda.h
compaction.h include/linux/compaction.h: clean code by removing unused enum value 2020-10-13 18:38:34 -07:00
compat.h Merge branch 'compat.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-10-12 16:44:57 -07:00
compiler-clang.h compiler-clang: add build check for clang 10.0.1 2020-10-13 18:38:26 -07:00
compiler-gcc.h compiler-gcc: improve version error 2020-10-13 18:38:26 -07:00
compiler-intel.h
compiler.h compiler.h: avoid escaped section names 2020-10-13 18:38:26 -07:00
compiler_attributes.h
compiler_types.h
completion.h
component.h
configfs.h
connector.h
console.h
console_struct.h
consolemap.h
const.h
container.h
context_tracking.h
context_tracking_state.h
cordic.h
coredump.h binfmt_elf, binfmt_elf_fdpic: use a VMA list snapshot 2020-10-16 11:11:21 -07:00
coresight-pmu.h
coresight-stm.h
coresight.h coresight: cti: Don't disable ect device if it's not enabled 2020-09-28 19:47:41 +02:00
count_zeros.h
counter.h
counter_enum.h
cper.h
cpu.h
cpu_cooling.h
cpu_pm.h
cpu_rmap.h
cpufeature.h
cpufreq.h cpufreq,arm,arm64: restructure definitions of arch_set_freq_scale() 2020-10-08 17:17:27 +02:00
cpuhotplug.h debugobjects: Free per CPU pool after CPU unplug 2020-10-01 16:13:54 +02:00
cpuidle.h cpuidle: record state entry rejection statistics 2020-09-23 14:10:31 +02:00
cpuidle_haltpoll.h
cpumask.h
cpuset.h
crash_core.h printk changes for 5.10 2020-10-13 15:58:10 -07:00
crash_dump.h
crc-ccitt.h
crc-itu-t.h
crc-t10dif.h
crc4.h
crc7.h
crc8.h
crc16.h
crc32.h
crc32c.h
crc32poly.h
crc64.h
cred.h
crypto.h
cs5535.h
ctype.h
cuda.h
cyclades.h
dasd_mod.h
davinci_emac.h
dax.h New code for 5.10: 2020-10-14 12:23:00 -07:00
dca.h
dcache.h fscrypt: rename DCACHE_ENCRYPTED_NAME to DCACHE_NOKEY_NAME 2020-09-23 21:29:49 -07:00
dccp.h
dcookies.h
debug_locks.h
debugfs.h
debugobjects.h debugobjects: Allow debug_obj_descr to be const 2020-09-24 21:56:24 +02:00
delay.h
delayacct.h
delayed_call.h
dev_printk.h printk: move dictionary keys to dev_printk_info 2020-09-22 11:27:48 +02:00
devcoredump.h
devfreq-event.h PM / devfreq: event: Change prototype of devfreq_event_get_edev_by_phandle function 2020-09-29 17:50:10 +09:00
devfreq.h PM / devfreq: Change prototype of devfreq_get_devfreq_by_phandle function 2020-09-29 17:50:10 +09:00
devfreq_cooling.h
device-mapper.h dm: remove special-casing of bio-based immutable singleton target on NVMe 2020-10-07 18:08:41 -04:00
device.h dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
device_cgroup.h
devpts_fs.h
digsig.h
dim.h
dio.h
dirent.h
dlm.h
dlm_plock.h
dm-bufio.h
dm-dirty-log.h
dm-io.h
dm-kcopyd.h
dm-region-hash.h
dm9000.h
dma-buf.h
dma-direct.h dma-mapping: merge <linux/dma-noncoherent.h> into <linux/dma-map-ops.h> 2020-10-06 07:07:06 +02:00
dma-direction.h dma-mapping: move valid_dma_direction to dma-direction.h 2020-09-25 06:12:25 +02:00
dma-fence-array.h
dma-fence-chain.h
dma-fence.h
dma-heap.h
dma-iommu.h
dma-map-ops.h dma-direct: simplify the DMA_ATTR_NO_KERNEL_MAPPING handling 2020-10-07 11:09:20 +02:00
dma-mapping.h dma-mapping: move dma-debug.h to kernel/dma/ 2020-10-06 07:07:05 +02:00
dma-resv.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
ds2782_battery.h
dtlk.h
dw_apb_timer.h
dynamic_debug.h
dynamic_queue_limits.h
earlycpio.h
ecryptfs.h
edac.h
edd.h
eeprom_93cx6.h
eeprom_93xx46.h
efi-bgrt.h
efi.h Merge branch 'efi/urgent' into efi/core, to pick up fixes 2020-10-12 13:38:31 +02:00
efi_embedded_fw.h
efs_vh.h
eisa.h
elevator.h
elf-fdpic.h
elf-randomize.h
elf.h
elfcore-compat.h
elfcore.h
elfnote.h
enclosure.h
energy_model.h
entry-common.h * Misc minor cleanups. 2020-10-12 10:51:02 -07:00
entry-kvm.h
err.h
errname.h
errno.h
error-injection.h
errqueue.h
errseq.h
etherdevice.h
ethtool.h
ethtool_netlink.h
eventfd.h
eventpoll.h
evm.h
export.h export.h: fix section name for CONFIG_TRIM_UNUSED_KSYMS for Clang 2020-10-13 18:38:26 -07:00
exportfs.h
ext2_fs.h
extable.h
extcon-provider.h
extcon.h
f2fs_fs.h
f75375s.h
falloc.h
fanotify.h
fault-inject.h
fb.h
fbcon.h
fcdevice.h
fcntl.h
fd.h
fddidevice.h
fdtable.h
fec.h
fiemap.h
file.h
filter.h
fips.h
firewire.h
firmware-map.h
firmware.h firmware: Add request_partial_firmware_into_buf() 2020-10-05 13:37:04 +02:00
fixp-arith.h
flat.h
flex_proportions.h
font.h drm next for 5.10-rc1 2020-10-15 10:46:16 -07:00
freezer.h
frontswap.h
fs.h fs: do not update nr_thps for mappings which support THPs 2020-10-16 11:11:15 -07:00
fs_context.h
fs_enet_pd.h
fs_parser.h
fs_pin.h
fs_stack.h
fs_struct.h
fs_types.h
fs_uart_pd.h
fscache-cache.h
fscache.h
fscrypt.h fscrypt: export fscrypt_d_revalidate() 2020-09-28 14:44:51 -07:00
fsi-occ.h
fsi-sbefifo.h
fsi.h
fsl-diu-fb.h
fsl_devices.h
fsl_hypervisor.h
fsl_ifc.h
fsldma.h
fsnotify.h
fsnotify_backend.h
fsverity.h
ftrace.h
ftrace_irq.h
futex.h
fwnode.h
gameport.h
gcd.h
genalloc.h
generic-radix-tree.h
genetlink.h
genhd.h block: move the NEED_PART_SCAN flag to struct gendisk 2020-09-23 10:43:18 -06:00
genl_magic_func.h
genl_magic_struct.h
getcpu.h
gfp.h dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
glob.h
gnss.h
goldfish.h
gpio-pxa.h
gpio.h
gpio_keys.h
greybus.h
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 HID: add vivaldi HID driver 2020-09-30 22:44:26 +02:00
hidden.h
hiddev.h
hidraw.h
highmem.h
highuid.h
hil.h
hil_mlc.h
hippidevice.h
hmm.h
host1x.h
hp_sdc.h
hpet.h
hrtimer.h
hrtimer_defs.h
htcpld.h
huge_mm.h include/linux/huge_mm.h: remove mincore_huge_pmd declaration 2020-10-13 18:38:32 -07:00
hugetlb.h mm: and drivers core: Convert hugetlb_report_node_meminfo to sysfs_emit 2020-10-02 13:16:33 +02:00
hugetlb_cgroup.h
hugetlb_inline.h
hw_breakpoint.h
hw_random.h
hwmon-sysfs.h
hwmon-vid.h
hwmon.h hwmon: (core) Add support for rated attributes 2020-09-23 09:42:39 -07:00
hwspinlock.h
hyperv.h hv: hyperv.h: Introduce some hvpfn helper functions 2020-09-28 08:55:13 +00:00
hypervisor.h
i2c-algo-bit.h
i2c-algo-pca.h
i2c-algo-pcf.h
i2c-dev.h
i2c-mux.h
i2c-smbus.h
i2c.h
i8042.h
i8253.h
icmp.h
icmpv6.h
ide.h
idle_inject.h
idr.h lib/idr.c: document that ida_simple_{get,remove}() are deprecated 2020-10-16 11:11:20 -07:00
ieee80211.h
ieee802154.h
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_pppox.h
if_rmnet.h
if_tap.h
if_team.h
if_tun.h
if_tunnel.h
if_vlan.h
igmp.h
ihex.h
ima.h LSM: Add "contents" flag to kernel_read_file hook 2020-10-05 13:37:03 +02:00
imx-media.h
in.h
in6.h
indirect_call_wrapper.h
inet.h
inet_diag.h
inetdevice.h
init.h
init_ohci1394_dma.h
init_syscalls.h
init_task.h
initrd.h
inotify.h
input-polldev.h
input.h
instrumentation.h
instrumented.h
integrity.h
intel-iommu.h IOMMU Updates for Linux v5.10 2020-10-14 12:08:34 -07:00
intel-ish-client-if.h
intel-pti.h
intel-svm.h
intel_rapl.h
intel_th.h
interconnect-provider.h
interconnect.h
interrupt.h
interval_tree.h
interval_tree_generic.h
io-64-nonatomic-hi-lo.h
io-64-nonatomic-lo-hi.h
io-mapping.h
io-pgtable.h
io.h
io_uring.h io_uring: move io_uring_get_socket() into io_uring.h 2020-09-30 20:32:33 -06:00
ioasid.h
iocontext.h
iomap.h iomap: Allow filesystem to call iomap_dio_complete without i_rwsem 2020-09-28 08:51:08 -07:00
iommu-helper.h
iommu.h IOMMU Updates for Linux v5.10 2020-10-14 12:08:34 -07:00
iopoll.h iopoll: update kerneldoc of read_poll_timeout_atomic() 2020-09-25 16:30:06 +02:00
ioport.h kernel/resource: make iomem_resource implicit in release_mem_region_adjustable() 2020-10-16 11:11:18 -07:00
ioprio.h
iova.h
ip.h
ipack.h
ipc.h
ipc_namespace.h
ipmi.h
ipmi_smi.h
ipv6.h
ipv6_route.h
irq.h Merge branch 'irq/qcom-pdc-wakeup' into irq/irqchip-next 2020-10-06 11:28:03 +01:00
irq_cpustat.h
irq_poll.h
irq_sim.h
irq_work.h
irqbypass.h
irqchip.h
irqdesc.h
irqdomain.h Surgery of the MSI interrupt handling to prepare the support of upcoming 2020-10-12 11:40:41 -07:00
irqflags.h
irqhandler.h
irqnr.h
irqreturn.h
isa.h
isapnp.h PNP: remove the now unused pnp_find_card() function 2020-10-08 18:00:08 +02:00
iscsi_boot_sysfs.h
iscsi_ibft.h
isicom.h
iversion.h
jbd2.h
jhash.h
jiffies.h kernel.h: split out min()/max() et al. helpers 2020-10-16 11:11:19 -07:00
journal-head.h
joystick.h
jump_label.h
jump_label_ratelimit.h
jz4740-adc.h
jz4780-nemc.h
kallsyms.h
kasan-checks.h
kasan.h KUnit: KASAN Integration 2020-10-13 18:38:32 -07:00
kbd_diacr.h
kbd_kern.h
kbuild.h
kconfig.h
kcore.h
kcov.h
kcsan-checks.h
kcsan.h
kd.h
kdb.h
kdebug.h
kdev_t.h
kern_levels.h
kernel-page-flags.h
kernel.h kernel.h: split out min()/max() et al. helpers 2020-10-16 11:11:19 -07:00
kernel_read_file.h fs/kernel_file_read: Add "offset" arg for partial reads 2020-10-05 13:37:04 +02:00
kernel_stat.h
kernelcapi.h
kernfs.h
kexec.h
key-type.h
key.h
keyboard.h
keyctl.h
keyslot-manager.h
kfifo.h
kgdb.h
khugepaged.h mm: khugepaged: recalculate min_free_kbytes after memory hotplug as expected by khugepaged 2020-10-11 10:31:11 -07:00
klist.h
kmemleak.h
kmod.h
kmsg_dump.h
kobj_map.h
kobject.h
kobject_ns.h
kprobes.h This tree prepares to unify the kretprobe trampoline handler and make 2020-10-12 14:21:15 -07:00
kref.h
ks0108.h
ks8842.h
ks8851_mll.h
ksm.h
kthread.h
ktime.h
kvm_host.h
kvm_irqfd.h
kvm_para.h
kvm_types.h
l2tp.h
lantiq.h
lapb.h
latencytop.h
lcd.h
lcm.h
led-class-flash.h
led-class-multicolor.h
led-lm3530.h
leds-bd2802.h
leds-lp3944.h
leds-lp3952.h
leds-pca9532.h
leds-regulator.h
leds-ti-lmu-common.h
leds.h
libata.h
libfdt.h
libfdt_env.h
libgcc.h
libnvdimm.h
libps2.h
license.h
lightnvm.h
limits.h
linear_range.h
linkage.h
linkmode.h
linux_logo.h
lis3lv02d.h
list.h include/linux/list.h: add a macro to test if entry is pointing to the head 2020-10-16 11:11:20 -07:00
list_bl.h
list_lru.h
list_nulls.h
list_sort.h
livepatch.h
llc.h
llist.h
local_lock.h
local_lock_internal.h
lockdep.h Merge branch 'locking/urgent' into locking/core, to pick up fixes 2020-10-09 08:55:17 +02:00
lockdep_types.h lockdep: Fix usage_traceoverflow 2020-10-09 08:53:08 +02:00
lockref.h
log2.h
logic_pio.h
lp.h
lru_cache.h
lsm_audit.h
lsm_hook_defs.h LSM: Fix type of id parameter in kernel_post_load_data prototype 2020-10-07 09:23:39 +02:00
lsm_hooks.h LSM: Add "contents" flag to kernel_read_file hook 2020-10-05 13:37:03 +02:00
lz4.h
lzo.h
mailbox_client.h
mailbox_controller.h
maple.h
marvell_phy.h
math64.h
max17040_battery.h
mbcache.h
mbus.h
mc6821.h
mc146818rtc.h
mcb.h
mdev.h
mdio-bitbang.h
mdio-gpio.h
mdio-mux.h
mdio-xpcs.h
mdio.h
mei_cl_bus.h
mem_encrypt.h
memblock.h memblock: use separate iterators for memory and reserved regions 2020-10-13 18:38:35 -07:00
memcontrol.h mm/memcg: unify swap and memsw page counters 2020-10-13 18:38:30 -07:00
memfd.h
memory.h
memory_hotplug.h mm/memory_hotplug: MEMHP_MERGE_RESOURCE to specify merging of System RAM resources 2020-10-16 11:11:18 -07:00
mempolicy.h
mempool.h
memregion.h
memremap.h mm/memremap_pages: support multiple ranges per invocation 2020-10-13 18:38:28 -07:00
memstick.h memstick: Skip allocating card when removing host 2020-09-28 12:16:13 +02:00
mhi.h bus: mhi: Remove unused nr_irqs_req variable 2020-10-02 11:33:47 +02:00
mic_bus.h
micrel_phy.h
microchipphy.h
migrate.h
migrate_mode.h
mii.h
mii_timestamper.h
min_heap.h
minmax.h kernel.h: split out min()/max() et al. helpers 2020-10-16 11:11:19 -07:00
miscdevice.h
mISDNdsp.h
mISDNhw.h
mISDNif.h
mm-arch-hooks.h
mm.h mm: pass migratetype into memmap_init_zone() and move_pfn_range_to_zone() 2020-10-16 11:11:17 -07:00
mm_inline.h
mm_types.h Initial support for sharing virtual addresses between the CPU and 2020-10-12 10:40:34 -07:00
mm_types_task.h
mman.h
mmap_lock.h mmap locking API: add mmap_lock_is_contended() 2020-10-13 18:38:31 -07:00
mmdebug.h
mmiotrace.h
mmu_context.h
mmu_notifier.h
mmzone.h include/linux/mmzone.h: remove unused early_pfn_valid() 2020-10-16 11:11:19 -07:00
mnt_namespace.h
mod_devicetable.h
module.h
module_signature.h
moduleloader.h
moduleparam.h
most.h
mount.h
moxtet.h
mpage.h
mpi.h lib/mpi: Introduce ec implementation to MPI library 2020-09-25 17:48:54 +10:00
mpls.h
mpls_iptunnel.h
mroute.h
mroute6.h
mroute_base.h
msdos_fs.h
msdos_partition.h
msg.h
msi.h
mtio.h
mutex.h
mv643xx.h
mv643xx_eth.h
mv643xx_i2c.h
mvebu-pmsu.h
mxm-wmi.h
n_r3964.h
namei.h
nd.h
ndctl.h
net.h net: introduce helper sendpage_ok() in include/linux/net.h 2020-10-02 15:27:08 -07:00
netdev_features.h
netdevice.h net: core: document two new elements of struct net_device 2020-10-02 15:15:56 -07:00
netfilter.h
netfilter_bridge.h
netfilter_defs.h
netfilter_ingress.h
netfilter_ipv4.h
netfilter_ipv6.h
netlink.h
netpoll.h
nfs.h
nfs3.h
nfs4.h
nfs_fs.h
nfs_fs_i.h
nfs_fs_sb.h
nfs_iostat.h
nfs_page.h
nfs_xdr.h
nfsacl.h
nitro_enclaves.h nitro_enclaves: Add ioctl interface definition 2020-09-22 13:58:40 +02:00
nl802154.h
nls.h
nmi.h
node.h mm: don't panic when links can't be created in sysfs 2020-10-16 11:11:18 -07:00
nodemask.h kernel.h: split out min()/max() et al. helpers 2020-10-16 11:11:19 -07:00
nospec.h
notifier.h
ns_common.h
nsc_gpio.h
nsproxy.h
ntb.h
ntb_transport.h
nubus.h
numa.h mm/memory_hotplug: introduce default phys_to_target_node() implementation 2020-10-13 18:38:27 -07:00
nvme-fc-driver.h
nvme-fc.h
nvme-rdma.h
nvme-tcp.h
nvme.h
nvmem-consumer.h
nvmem-provider.h
nvram.h
objagg.h
objtool.h
of.h
of_address.h
of_clk.h
of_device.h
of_dma.h
of_fdt.h
of_gpio.h
of_graph.h
of_iommu.h
of_irq.h
of_mdio.h
of_net.h
of_pci.h
of_pdt.h
of_platform.h
of_reserved_mem.h
oid_registry.h X.509: support OSCCA certificate parse 2020-09-25 17:48:54 +10:00
olpc-ec.h
omap-dma.h
omap-gpmc.h
omap-iommu.h
omap-mailbox.h
omapfb.h
once.h
oom.h mm, oom_adj: don't loop through tasks in __set_oom_adj when not necessary 2020-10-13 18:38:35 -07:00
openvswitch.h
oprofile.h
osq_lock.h
overflow.h overflow: Add __must_check attribute to check_*() helpers 2020-10-12 15:19:07 -07:00
packing.h
padata.h
page-flags-layout.h
page-flags.h mm,hwpoison: rework soft offline for in-use pages 2020-10-16 11:11:16 -07:00
page-isolation.h
page_counter.h
page_ext.h
page_idle.h
page_owner.h mm/page_owner: change split_page_owner to take a count 2020-10-16 11:11:15 -07:00
page_ref.h
page_reporting.h
pageblock-flags.h
pagemap.h mm/readahead: add page_cache_sync_ra and page_cache_async_ra 2020-10-16 11:11:16 -07:00
pagevec.h
pagewalk.h
parman.h
parport.h
parport_pc.h
parser.h
part_stat.h
pata_arasan_cf_data.h
patchkey.h
path.h
pch_dma.h
pci-acpi.h
pci-ats.h
pci-dma-compat.h
pci-ecam.h
pci-ep-cfs.h
pci-epc.h
pci-epf.h
pci-p2pdma.h
pci.h
pci_hotplug.h
pci_ids.h
pda_power.h
pe.h
percpu-defs.h
percpu-refcount.h percpu_ref: reduce memory footprint of percpu_ref in fast path 2020-10-06 07:29:36 -06:00
percpu-rwsem.h
percpu.h
percpu_counter.h
perf_event.h
perf_regs.h
personality.h
pfn.h
pfn_t.h
pgtable.h arm64 updates for 5.10 2020-10-12 10:00:51 -07:00
phonet.h
phy.h
phy_fixed.h
phy_led_triggers.h
phylink.h
pid.h
pid_namespace.h
pim.h
pipe_fs_i.h pipe: remove pipe_wait() and fix wakeup race with splice 2020-10-01 19:14:36 -07:00
pkeys.h
pktcdvd.h
pl320-ipc.h
pl353-smc.h
platform_device.h
pldmfw.h
plist.h
pm-trace.h
pm.h PM: runtime: Fix timer_expires data type on 32-bit arches 2020-09-28 16:38:11 +02:00
pm2301_charger.h
pm_clock.h
pm_domain.h PM: domains: Rename power state enums for genpd 2020-10-02 19:15:16 +02:00
pm_opp.h
pm_qos.h
pm_runtime.h
pm_wakeirq.h
pm_wakeup.h
pmbus.h
pmu.h
pnfs_osd_xdr.h
pnp.h
poison.h
poll.h
posix-clock.h
posix-timers.h
posix_acl.h
posix_acl_xattr.h
power_supply.h
powercap.h
ppp-comp.h
ppp_channel.h
ppp_defs.h
pps-gpio.h
pps_kernel.h
pr.h
prandom.h
preempt.h
prefetch.h
prime_numbers.h
printk.h Merge branch 'printk-rework' into for-linus 2020-10-12 13:01:37 +02:00
proc_fs.h
proc_ns.h
processor.h
profile.h
projid.h
property.h Driver Core patches for 5.10-rc1 2020-10-14 16:09:32 -07:00
psci.h firmware: psci: Extend psci_set_osi_mode() to allow reset to PC mode 2020-09-22 17:50:32 +02:00
pseudo_fs.h
psi.h
psi_types.h
psp-sev.h
psp-tee.h
pstore.h
pstore_blk.h
pstore_ram.h
pstore_zone.h
ptdump.h
pti.h
ptp_classify.h
ptp_clock_kernel.h
ptr_ring.h
ptrace.h
purgatory.h
pvclock_gtod.h
pwm.h
pwm_backlight.h
pxa2xx_ssp.h
pxa168_eth.h
qcom-geni-se.h serial: qcom_geni_serial: To correct QUP Version detection logic 2020-09-30 09:12:03 +02:00
qcom_scm.h
qnx6_fs.h
quota.h
quotaops.h
radix-tree.h
raid_class.h
ramfs.h
random.h
range.h mm/memremap_pages: convert to 'struct range' 2020-10-13 18:38:28 -07:00
ras.h
ratelimit.h
ratelimit_types.h
rational.h
rbtree.h
rbtree_augmented.h
rbtree_latch.h
rcu_node_tree.h
rcu_segcblist.h
rcu_sync.h
rculist.h
rculist_bl.h
rculist_nulls.h
rcupdate.h
rcupdate_trace.h
rcupdate_wait.h
rcutiny.h
rcutree.h
rcuwait.h
reboot-mode.h
reboot.h
reciprocal_div.h
refcount.h
regmap.h regmap: irq: Add support to clear ack registers 2020-10-05 18:35:30 +01:00
regset.h
relay.h
remoteproc.h
resctrl.h
reset-controller.h
reset.h
resource.h
resource_ext.h
restart_block.h
rfkill.h
rhashtable-types.h
rhashtable.h
ring_buffer.h
rio.h
rio_drv.h
rio_ids.h
rio_regs.h
rmap.h
rmi.h
rndis.h
rodata_test.h
root_dev.h
rpmsg.h
rslib.h
rtc.h
rtmutex.h
rtnetlink.h
rtsx_common.h
rtsx_pci.h
rtsx_usb.h
rwlock.h
rwlock_api_smp.h
rwlock_types.h
rwsem.h
s3c_adc_battery.h
sbitmap.h
scatterlist.h
scc.h
sched.h kasan/kunit: add KUnit Struct to Current Task 2020-10-13 18:38:32 -07:00
sched_clock.h
scif.h
scmi_protocol.h
scpi_protocol.h
screen_info.h
scs.h
sctp.h
scx200.h
scx200_gpio.h
sdb.h
sdla.h
seccomp.h
securebits.h
security.h LSM: Add "contents" flag to kernel_read_file hook 2020-10-05 13:37:03 +02:00
sed-opal.h
seg6.h
seg6_genl.h
seg6_hmac.h
seg6_iptunnel.h
seg6_local.h
selection.h
sem.h
semaphore.h
seq_buf.h
seq_file.h
seq_file_net.h
seqlock.h locking/seqlock: Tweak DEFINE_SEQLOCK() kernel doc 2020-10-07 18:14:14 +02:00
seqno-fence.h
serdev.h
serial.h
serial_8250.h
serial_bcm63xx.h
serial_core.h
serial_max3100.h
serial_pnx8xxx.h
serial_s3c.h
serial_sci.h
serio.h
set_memory.h
sfi.h
sfi_acpi.h
sfp.h
sh_clk.h
sh_dma.h
sh_eth.h
sh_intc.h
sh_timer.h
shdma-base.h
shm.h
shmem_fs.h
shrinker.h
signal.h
signal_types.h
signalfd.h
siox.h
siphash.h
sirfsoc_dma.h
sizes.h
skb_array.h
skbuff.h Merge branch 'work.csum_and_copy' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-10-12 16:24:13 -07:00
skmsg.h
slab.h include/linux/slab.h: fix a typo error in comment 2020-10-13 18:38:27 -07:00
slab_def.h
slimbus.h
slub_def.h
sm501-regs.h
sm501.h
smc91x.h
smc911x.h
smp.h
smp_types.h
smpboot.h
smsc911x.h
smscphy.h
sock_diag.h
socket.h
sockptr.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
sram.h
srcu.h
srcutiny.h
srcutree.h
ssbi.h
stackdepot.h
stackleak.h
stackprotector.h
stacktrace.h
start_kernel.h
stat.h
statfs.h
static_call.h static_call: Fix return type of static_call_init 2020-10-02 21:18:25 +02:00
static_call_types.h
static_key.h
stddef.h
stm.h
stmmac.h
stmp3xxx_rtc_wdt.h
stmp_device.h
stop_machine.h
string.h x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}() 2020-10-06 11:18:04 +02:00
string_helpers.h lib: string_helpers: provide kfree_strarray() 2020-09-30 10:50:30 +02:00
stringhash.h
stringify.h
sungem_phy.h
sunserialcore.h
sunxi-rsb.h
superhyway.h
suspend.h PM: rewrite is_hibernate_resume_dev to not require an inode 2020-09-23 10:43:19 -06:00
svga.h
sw842.h
swab.h
swait.h
swap.h mm: remove activate_page() from unuse_pte() 2020-10-13 18:38:30 -07:00
swap_cgroup.h
swap_slots.h mm/swap_slots.c: remove always zero and unused return value of enable_swap_slots_cache() 2020-10-13 18:38:30 -07:00
swapfile.h
swapops.h
swiotlb.h
switchtec.h
sxgbe_platform.h
sync_core.h
sync_file.h
synclink.h
sys.h
sys_soc.h
syscalls.h rseq/membarrier: Add MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ 2020-09-25 14:23:27 +02:00
syscore_ops.h
sysctl.h
sysfs.h sysfs: Add sysfs_emit and sysfs_emit_at to format sysfs output 2020-10-02 12:02:30 +02:00
syslog.h
sysrq.h
sysv_fs.h
t10-pi.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
tee_drv.h
textsearch.h
textsearch_fsm.h
tfrc.h
thermal.h
thread_info.h
threads.h
thunderbolt.h
ti-emif-sram.h
ti_wilink_st.h
tick.h
tifm.h
timb_dma.h
timb_gpio.h
time.h
time32.h
time64.h
time_namespace.h
timecounter.h
timekeeper_internal.h
timekeeping.h
timekeeping32.h
timer.h timers: Mask invalid flags in do_init_timer() 2020-09-24 22:12:18 +02:00
timerfd.h
timeriomem-rng.h
timerqueue.h
timex.h
tnum.h
topology.h
torture.h
toshiba.h
tpm.h
tpm_command.h
tpm_eventlog.h
trace.h tracing: Add trace_export support for trace_marker 2020-10-05 12:43:53 +02:00
trace_clock.h
trace_events.h
trace_seq.h
tracefs.h
tracehook.h
tracepoint-defs.h
tracepoint.h
transport_class.h
ts-nbus.h
tsacct_kern.h
tty.h
tty_driver.h
tty_flip.h
tty_ldisc.h
typecheck.h
types.h
u64_stats_sync.h
uacce.h
uaccess.h kernel.h: split out min()/max() et al. helpers 2020-10-16 11:11:19 -07:00
ucb1400.h
ucs2_string.h
udp.h
uidgid.h
uio.h Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-10-12 16:35:51 -07:00
uio_driver.h
umh.h
unicode.h
units.h
uprobes.h
usb.h USB: correct API of usb_control_msg_send/recv 2020-09-25 16:33:58 +02:00
usb_usual.h
usbdevice_fs.h
user-return-notifier.h
user.h
user_namespace.h
userfaultfd_k.h
usermode_driver.h
util_macros.h
uts.h
utsname.h
uuid.h
vbox_utils.h
vdpa.h
verification.h
vermagic.h
vexpress.h
vfio.h
vfs.h
vga_switcheroo.h
vgaarb.h
vhost_iotlb.h
via-core.h
via-gpio.h
via.h
via_i2c.h
videodev2.h
virtio.h
virtio_byteorder.h
virtio_caif.h
virtio_config.h
virtio_console.h
virtio_dma_buf.h
virtio_net.h
virtio_ring.h
virtio_vsock.h
visorbus.h
vlynq.h
vm_event_item.h
vmacache.h
vmalloc.h
vme.h
vmpressure.h
vmstat.h mm: use self-explanatory macros rather than "2" 2020-10-16 11:11:19 -07:00
vmw_vmci_api.h
vmw_vmci_defs.h
vringh.h
vt.h
vt_buffer.h
vt_kern.h
vtime.h
w1-gpio.h
w1.h w1: Constify struct w1_family_ops 2020-10-05 13:21:49 +02:00
wait.h
wait_bit.h
watch_queue.h pipe: Fix memory leaks in create_pipe_files() 2020-10-01 09:40:35 -04:00
watchdog.h
win_minmax.h
wireless.h
wkup_m3_ipc.h
wl12xx.h
wm97xx.h
wmi.h
workqueue.h
writeback.h
ww_mutex.h
xarray.h XArray: add xas_split 2020-10-16 11:11:15 -07:00
xattr.h
xxhash.h
xz.h
yam.h
z2_battery.h
zbud.h
zconf.h
zlib.h
zorro.h
zpool.h
zsmalloc.h
zstd.h
zutil.h