Serge Hallyn
b8dfee2345
fix namespaced fscaps when !CONFIG_SECURITY
...
[ Upstream commit ed9b25d1970a4787ac6a39c2091e63b127ecbfc1 ]
Namespaced file capabilities were introduced in 8db6c34f1d .
When userspace reads an xattr for a namespaced capability, a
virtualized representation of it is returned if the caller is
in a user namespace owned by the capability's owning rootid.
The function which performs this virtualization was not hooked
up if CONFIG_SECURITY=n. Therefore in that case the original
xattr was shown instead of the virtualized one.
To test this using libcap-bin (*1),
$ v=$(mktemp)
$ unshare -Ur setcap cap_sys_admin-eip $v
$ unshare -Ur setcap -v cap_sys_admin-eip $v
/tmp/tmp.lSiIFRvt8Y: OK
"setcap -v" verifies the values instead of setting them, and
will check whether the rootid value is set. Therefore, with
this bug un-fixed, and with CONFIG_SECURITY=n, setcap -v will
fail:
$ v=$(mktemp)
$ unshare -Ur setcap cap_sys_admin=eip $v
$ unshare -Ur setcap -v cap_sys_admin=eip $v
nsowner[got=1000, want=0],/tmp/tmp.HHDiOOl9fY differs in []
Fix this bug by calling cap_inode_getsecurity() in
security_inode_getsecurity() instead of returning
-EOPNOTSUPP, when CONFIG_SECURITY=n.
*1 - note, if libcap is too old for getcap to have the '-n'
option, then use verify-caps instead.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=209689
Cc: Hervé Guillemet <herve@guillemet.org>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Serge Hallyn <shallyn@cisco.com>
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Signed-off-by: James Morris <jamorris@linux.microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:51:30 +01:00
..
amba
avf
bcma
byteorder
can
can: can_create_echo_skb(): fix echo skb generation: always use skb_clone()
2020-11-18 19:20:19 +01:00
ceph
libceph: fix alloc_msg_with_page_vector() memory leaks
2020-04-02 15:11:02 +02:00
clk
crush
decompress
dma
dsa
net: dsa: tag_8021q: replace dsa_8021q_remove_header with __skb_vlan_pop
2020-04-01 11:01:34 +02:00
extcon
firmware
fpga
fsl
gpio
gpio: add gpiod_toggle_active_low()
2020-02-19 19:53:09 +01:00
greybus
hsi
i3c
iio
iio: core: remove extra semi-colon from devm_iio_device_register() macro
2020-04-29 16:33:12 +02:00
input
Input: elan_i2c - add more hardware ID for Lenovo laptops
2020-07-22 09:33:13 +02:00
irqchip
isdn
lockd
mailbox
mfd
mfd: stmfx: Disable IRQ in suspend to avoid spurious interrupt
2020-06-24 17:50:33 +02:00
mlx4
mlx5
net/mlx5: DR, Proper handling of unsupported Connect-X6DX SW steering
2020-12-08 10:40:27 +01:00
mmc
mmc: core: Fix size overflow for mmc partitions
2020-10-01 13:17:20 +02:00
mtd
mtd: lpddr: Fix bad logic in print_drs_error
2020-11-01 12:01:05 +01:00
mux
netfilter
netfilter: x_tables: Switch synchronization to RCU
2020-12-30 11:50:54 +01:00
netfilter_arp
netfilter_bridge
netfilter_ipv4
netfilter_ipv6
perf
phy
pinctrl
platform_data
dmaengine: dw: Add DMA-channels mask cell support
2020-10-29 09:58:09 +01:00
power
ARM: OMAP2+: SmartReflex: add omap_sr_pdata definition
2020-02-01 09:34:49 +00:00
qed
net: qed: Disable aRFS for NPAR and 100G
2020-10-01 13:18:18 +02:00
raid
raid6/test: fix a compilation warning
2020-02-24 08:36:47 +01:00
regulator
regulator fix for "regulator: core: Add regulator_is_equal() helper"
2020-02-11 04:35:55 -08:00
remoteproc
reset
rpmsg
rtc
sched
mm, oom_adj: don't loop through tasks in __set_oom_adj when not necessary
2020-10-29 09:57:45 +01:00
soc
drm main pull for 5.4-rc1
2019-09-19 16:24:24 -07:00
soundwire
spi
spi: Introduce device-managed SPI controller allocation
2020-11-24 13:29:22 +01:00
ssb
sunrpc
SUNRPC: xprt_load_transport() needs to support the netid "rdma6"
2020-12-30 11:51:16 +01:00
ulpi
unaligned
usb
usb: typec: tcpm: During PR_SWAP, source caps should be sent only after tSwapSourceStart
2020-11-05 11:43:15 +01:00
wimax
8250_pci.h
a.out.h
acct.h
acpi.h
ACPI: PM: Add acpi_[un]register_wakeup_handler()
2020-04-13 10:48:08 +02:00
acpi_dma.h
acpi_iort.h
acpi_pmtmr.h
adb.h
adfs_fs.h
adxl.h
aer.h
agp_backend.h
agpgart.h
ahci-remap.h
ahci_platform.h
ata: libahci_platform: Export again ahci_platform_<en/dis>able_phys()
2020-01-09 10:19:59 +01:00
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
arm-cci.h
arm-smccc.h
KVM: arm64: ARM_SMCCC_ARCH_WORKAROUND_1 doesn't return SMCCC_RET_NOT_REQUIRED
2020-11-18 19:20:21 +01:00
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
ata.h
ata_platform.h
atalk.h
ath9k_platform.h
atm.h
atm_suni.h
atm_tcp.h
atmdev.h
atmel-mci.h
atmel-ssc.h
atmel_pdc.h
atomic-fallback.h
atomic.h
attribute_container.h
audit.h
auto_dev-ioctl.h
auto_fs.h
auxvec.h
average.h
b1pcmcia.h
backing-dev-defs.h
bdi: add a ->dev_name field to struct backing_dev_info
2020-05-14 07:58:30 +02:00
backing-dev.h
bdi: move bdi_dev_name out of line
2020-05-14 07:58:30 +02: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
exec: Add exec_update_mutex to replace cred_guard_mutex
2020-10-01 13:17:47 +02:00
bio.h
block: add bio_truncate to fix guard_bio_eod
2020-01-09 10:19:54 +01:00
bit_spinlock.h
bitfield.h
bitfield.h: don't compile-time validate _val in FIELD_FIT
2020-08-19 08:16:28 +02:00
bitmap.h
bitmap.h: fix kernel-doc warning and typo
2019-10-14 15:04:01 -07:00
bitops.h
include/linux/bitops.h: avoid clang shift-count-overflow warnings
2020-06-24 17:50:39 +02:00
bitrev.h
bits.h
blk-cgroup.h
blk-mq-pci.h
blk-mq-rdma.h
blk-mq-virtio.h
blk-mq.h
blk-pm.h
blk_types.h
blkdev.h
blk-mq-debugfs: update blk_queue_flag_name[] accordingly for new flags
2020-07-22 09:32:52 +02:00
blkpg.h
blktrace_api.h
blktrace: Protect q->blk_trace with RCU
2020-03-05 16:43:52 +01:00
blockgroup_lock.h
bma150.h
bottom_half.h
bpf-cgroup.h
bpf.h
bpf: sockmap: Require attach_bpf_fd when detaching a program
2020-08-07 09:34:02 +02:00
bpf_lirc.h
bpf_trace.h
bpf_types.h
bpf_verifier.h
bpf: Limit caller's stack depth 256 for subprogs with tailcalls
2020-10-29 09:58:06 +01:00
bpfilter.h
brcmphy.h
bsearch.h
bsg-lib.h
bsg.h
btf.h
btree-128.h
btree-type.h
btree.h
btrfs.h
buffer_head.h
ext4: use non-movable memory for superblock readahead
2020-04-23 10:36:15 +02:00
bug.h
build-salt.h
build_bug.h
kbuild: avoid static_assert for genksyms
2020-12-16 10:56:58 +01:00
bvec.h
block: allow for_each_bvec to support zero len bvec
2020-09-09 19:12:34 +02: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: Fix sock_cgroup_data on big-endian.
2020-07-22 09:32:50 +02:00
cgroup.h
cgroup: fix cgroup_sk_alloc() for sk_clone_lock()
2020-07-22 09:32:49 +02:00
cgroup_rdma.h
cgroup_subsys.h
circ_buf.h
cleancache.h
clk-provider.h
Merge branches 'clk-init-destroy', 'clk-doc', 'clk-imx' and 'clk-allwinner' into clk-next
2019-09-19 15:31:27 -07:00
clk.h
We have a small collection of core framework updates this time, mostly around
2019-09-20 15:45:07 -07:00
clkdev.h
clock_cooling.h
clockchips.h
clocksource.h
cm4000_cs.h
cma.h
cmdline-parser.h
cn_proc.h
cnt32_to_63.h
coda.h
compaction.h
mm, compaction: raise compaction priority after it withdrawns
2019-09-24 15:54:10 -07:00
compat.h
futex: Move futex exit handling into futex code
2019-11-29 10:10:08 +01:00
compiler-clang.h
compiler.h: fix barrier_data() on clang
2020-12-16 10:56:59 +01:00
compiler-gcc.h
compiler.h: fix barrier_data() on clang
2020-12-16 10:56:59 +01:00
compiler-intel.h
compiler.h
compiler.h: fix barrier_data() on clang
2020-12-16 10:56:59 +01:00
compiler_attributes.h
compiler_attributes.h: Add 'fallthrough' pseudo keyword for switch/case use
2019-10-11 09:26:05 -07:00
compiler_types.h
bpf: Don't rely on GCC __attribute__((optimize)) to disable GCSE
2020-11-18 19:20:26 +01:00
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
coresight-pmu.h
coresight-stm.h
coresight.h
count_zeros.h
counter.h
counter_enum.h
cper.h
cpu.h
cpu/hotplug: Ignore pm_wakeup_pending() for disable_nonboot_cpus()
2020-04-17 10:50:11 +02:00
cpu_cooling.h
cpu_pm.h
cpu_rmap.h
cpufeature.h
cpufreq.h
cpufreq: Avoid creating excessively large stack frames
2020-02-11 04:35:25 -08:00
cpuhotplug.h
padata: validate cpumask without removed CPU during offline
2020-02-24 08:36:34 +01:00
cpuidle.h
cpuidle_haltpoll.h
cpumask.h
cpumask: nicer for_each_cpumask_and() signature
2019-09-25 17:51:40 -07:00
cpuset.h
crash_core.h
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
selinux/stable-5.4 PR 20190917
2019-09-23 11:21:04 -07:00
crypto.h
cryptohash.h
cs5535.h
ctype.h
cuda.h
cyclades.h
davinci_emac.h
dax.h
dax: Fix compilation for CONFIG_DAX && !CONFIG_FS_DAX
2020-09-23 12:40:47 +02:00
dca.h
dcache.h
dccp.h
dcookies.h
debug_locks.h
debugfs.h
debugfs: Fix !DEBUG_FS debugfs_create_automount
2020-10-01 13:17:21 +02:00
debugobjects.h
delay.h
delayacct.h
delayed_call.h
devcoredump.h
devfreq-event.h
devfreq.h
devfreq_cooling.h
thermal: devfreq_cooling: inline all stubs for CONFIG_DEVFREQ_THERMAL=n
2020-04-17 10:50:09 +02:00
device-mapper.h
dm integrity: fix integrity recalculation that is improperly skipped
2020-07-29 10:18:45 +02:00
device.h
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
dmabuf: use spinlock to access dmabuf->name
2020-07-29 10:18:29 +02:00
dma-contiguous.h
dma-debug.h
dma-direct.h
dma-direct: check for overflows on 32 bit DMA addresses
2020-01-04 19:17:24 +01:00
dma-direction.h
dma-fence-array.h
dma-fence-chain.h
dma-fence.h
dma-iommu.h
dma-mapping.h
dma-mapping: fix handling of dma-ranges for reserved memory (again)
2020-01-04 19:17:00 +01:00
dma-noncoherent.h
dma-resv.h
dmaengine.h
dmaengine: Store module owner in dma_device struct
2020-02-24 08:36:40 +01:00
dmapool.h
dmar.h
iommu/vt-d: Silence RCU-list debugging warnings
2020-04-01 11:01:53 +02:00
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_debug: provide dynamic_hex_dump stub
2019-10-22 12:54:44 -07:00
dynamic_queue_limits.h
earlycpio.h
ecryptfs.h
edac.h
edd.h
eeprom_93cx6.h
eeprom_93xx46.h
efi-bgrt.h
efi.h
efi: provide empty efi_enter_virtual_mode implementation
2020-09-03 11:26:49 +02:00
efs_vh.h
eisa.h
elevator.h
elf-fdpic.h
elf-randomize.h
elf.h
elfcore-compat.h
elfcore.h
elfnote.h
elfnote: mark all .note sections SHF_ALLOC
2020-06-17 16:40:20 +02:00
enclosure.h
energy_model.h
err.h
errno.h
error-injection.h
errqueue.h
errseq.h
etherdevice.h
ethtool.h
eventfd.h
eventfd: track eventfd_signal() recursion depth
2020-02-11 04:35:37 -08:00
eventpoll.h
evm.h
export.h
symbol namespaces: revert to previous __ksymtab name scheme
2019-10-18 15:32:52 +02:00
exportfs.h
ext2_fs.h
extable.h
extcon-provider.h
extcon.h
f2fs_fs.h
f2fs: Add a new CP flag to help fsck fix resize SPO issues
2020-04-23 10:36:33 +02:00
f75375s.h
falloc.h
fanotify.h
fault-inject.h
fb.h
fbmem: pull fbcon_update_vcs() out of fb_set_var()
2020-09-03 11:27:09 +02:00
fbcon.h
fcdevice.h
fcntl.h
fd.h
fddidevice.h
fdtable.h
fec.h
file.h
filter.h
bpf: Check correct cred for CAP_SYSLOG in bpf_dump_raw_ok()
2020-07-16 08:16:45 +02:00
fips.h
firewire.h
firmware-map.h
firmware.h
fixp-arith.h
flat.h
flex_proportions.h
font.h
Fonts: Support FONT_EXTRA_WORDS macros for built-in fonts
2020-10-14 10:32:56 +02:00
frame.h
freezer.h
frontswap.h
fs.h
writeback: Avoid skipping inode writeback
2020-09-03 11:27:04 +02:00
fs_context.h
fuse update for 5.4
2019-09-25 09:55:59 -07:00
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
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
fsnotify: replace inode pointer with an object id
2020-05-14 07:58:30 +02:00
fsverity.h
ftrace.h
ftrace_irq.h
futex.h
futex: Fix inode life-time issue
2020-03-25 08:25:58 +01:00
fwnode.h
gameport.h
gcd.h
genalloc.h
generic-radix-tree.h
genetlink.h
genhd.h
block/diskstats: more accurate approximation of io_ticks for slow disks
2020-10-07 08:01:29 +02:00
genl_magic_func.h
genl_magic_struct.h
getcpu.h
gfp.h
net: fix sk_page_frag() recursion from memory reclaim
2019-10-28 16:17:31 -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: core: Sanitize event code and type when mapping input
2020-09-05 11:22:49 +02:00
hiddev.h
hidraw.h
highmem.h
highuid.h
hil.h
hil_mlc.h
hil/parisc: Disable HIL driver when it gets stuck
2020-11-05 11:43:36 +01:00
hippidevice.h
hmm.h
host1x.h
hp_sdc.h
hpet.h
hrtimer.h
hrtimer: Annotate lockless access to timer->state
2020-01-04 19:18:41 +01:00
hrtimer_defs.h
htcpld.h
huge_mm.h
libnvdimm fixes v5.4-rc1
2019-09-29 10:33:41 -07:00
hugetlb.h
mm/hugetlb: fix build failure with HUGETLB_PAGE but not HUGEBTLBFS
2020-04-23 10:36:36 +02:00
hugetlb_cgroup.h
hugetlb_inline.h
hw_breakpoint.h
hw_random.h
hwmon-sysfs.h
hwmon-vid.h
hwmon.h
hwmon: Fix HWMON_P_MIN_ALARM mask
2019-10-02 06:36:50 -07:00
hwspinlock.h
hyperv.h
Drivers: hv: vmbus: Ignore CHANNELMSG_TL_CONNECT_RESULT(23)
2020-08-11 15:33:38 +02:00
hypervisor.h
i2c-algo-bit.h
i2c-algo-pca.h
i2c: algo: pca: Reapply i2c bus settings after reset
2020-09-23 12:40:38 +02:00
i2c-algo-pcf.h
i2c-dev.h
i2c-mux.h
i2c-pxa.h
i2c-smbus.h
i2c.h
Merge branch 'i2c/for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
2019-09-24 16:48:02 -07:00
i8042.h
i8253.h
icmp.h
icmpv6.h
ide.h
idle_inject.h
idr.h
XArray updates for 5.4
2019-11-08 08:46:49 -08:00
ieee80211.h
ieee80211: Fix incorrect mask for default PE duration
2020-06-03 08:21:36 +02:00
ieee802154.h
if_arp.h
if_bridge.h
if_eql.h
if_ether.h
macvlan: do not assume mac_header is set in macvlan_broadcast()
2020-01-12 12:21:46 +01:00
if_fddi.h
if_frad.h
if_link.h
if_ltalk.h
if_macvlan.h
net: remove unnecessary variables and callback
2019-10-24 14:53:49 -07:00
if_phonet.h
if_pppol2tp.h
if_pppox.h
if_rmnet.h
if_tap.h
if_team.h
team: fix nested locking lockdep warning
2019-10-24 14:53:48 -07:00
if_tun.h
if_tunnel.h
if_vlan.h
vlan: consolidate VLAN parsing code and limit max parsing depth
2020-07-22 09:32:49 +02:00
igmp.h
ihex.h
ima.h
Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
2019-09-28 08:14:15 -07:00
imx-media.h
in.h
in6.h
indirect_call_wrapper.h
inet.h
inet_diag.h
inet_diag: return classid for all socket types
2020-03-18 07:17:38 +01:00
inetdevice.h
init.h
init_ohci1394_dma.h
init_task.h
initrd.h
inotify.h
input-polldev.h
input.h
integrity.h
intel-iommu.h
iommu/vt-d: Avoid panic if iommu init fails in tboot system
2020-11-24 13:29:17 +01:00
intel-ish-client-if.h
intel-pti.h
intel-svm.h
iommu/vt-d: Fix compile warning from intel-svm.h
2020-02-28 17:22:26 +01:00
intel_rapl.h
intel_th.h
interconnect-provider.h
interconnect.h
interrupt.h
interval_tree.h
interval_tree_generic.h
augmented rbtree: add new RB_DECLARE_CALLBACKS_MAX macro
2019-09-25 17:51:39 -07:00
io-64-nonatomic-hi-lo.h
io-64-nonatomic-lo-hi.h
io-mapping.h
io-mapping: indicate mapping failure
2020-07-29 10:18:44 +02:00
io-pgtable.h
io.h
lib: devres: add a helper function for ioremap_uc
2020-05-10 10:31:30 +02:00
ioc3.h
iocontext.h
block: Fix use-after-free issue accessing struct io_cq
2020-04-17 10:50:04 +02:00
iomap.h
iomap: move the iomap_dio_rw ->end_io callback into a structure
2019-09-19 15:32:45 -07:00
iommu-helper.h
iommu.h
iopoll.h
ioport.h
/dev/mem: Revoke mappings when a driver claims the region
2020-06-24 17:50:35 +02:00
ioprio.h
iova.h
ip.h
ipack.h
ipc.h
ipc_namespace.h
ipmi-fru.h
ipmi.h
ipmi_smi.h
ipmi: Don't allow device module unload when in use
2019-12-31 16:44:14 +01:00
ipv6.h
ipv6_route.h
irq.h
genirq/affinity: Make affinity setting if activated opt-in
2020-08-21 13:05:20 +02:00
irq_cpustat.h
irq_poll.h
irq_sim.h
irq_work.h
irqbypass.h
irqchip.h
irqdesc.h
irqdomain.h
genirq/irqdomain: Add an irq_create_mapping_affinity() function
2020-12-11 13:23:30 +01:00
irqflags.h
irqhandler.h
irqnr.h
irqreturn.h
isa.h
isapnp.h
iscsi_boot_sysfs.h
iscsi_ibft.h
isicom.h
iversion.h
jbd2.h
jbd2: clean __jbd2_journal_abort_hard() and __journal_abort_soft()
2020-06-24 17:50:48 +02:00
jhash.h
jiffies.h
journal-head.h
joystick.h
jump_label.h
jump_label_ratelimit.h
jz4740-adc.h
jz4780-nemc.h
kallsyms.h
kallsyms: Refactor kallsyms_show_value() to take cred
2020-07-16 08:16:44 +02:00
kasan-checks.h
kasan.h
kbd_diacr.h
kbd_kern.h
kbuild.h
kconfig.h
kcore.h
kcov.h
kd.h
kdb.h
kdebug.h
kdev_t.h
kern_levels.h
kernel-page-flags.h
kernel.h
kernel_stat.h
kernelcapi.h
kernfs.h
kernfs: fix ino wrap-around detection
2019-12-13 08:42:53 +01:00
kexec.h
Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
2019-09-28 08:14:15 -07:00
key-type.h
KEYS: Don't write out to userspace while holding key semaphore
2020-04-23 10:36:45 +02:00
key.h
keyboard.h
keyctl.h
kfifo.h
kgdb.h
kgdb: Fix spurious true from in_dbg_master()
2020-06-22 09:31:03 +02:00
khugepaged.h
mm: khugepaged: recalculate min_free_kbytes after memory hotplug as expected by khugepaged
2020-10-14 10:33:05 +02:00
klist.h
kmemleak.h
kmod.h
kmsg_dump.h
kobj_map.h
kobject.h
kobject_ns.h
kprobes.h
kprobes: tracing/kprobes: Fix to kill kprobes on initmem after boot
2020-10-01 13:18:23 +02:00
kref.h
ks0108.h
ks8842.h
ks8851_mll.h
ksm.h
kthread.h
ktime.h
kvm_host.h
KVM: x86: Fix APIC page invalidation race
2020-06-17 16:40:26 +02:00
kvm_irqfd.h
kvm_para.h
kvm_types.h
x86/kvm: Cache gfn to pfn translation
2020-02-11 04:35:40 -08:00
l2tp.h
lantiq.h
lapb.h
latencytop.h
lcd.h
lcm.h
led-class-flash.h
led-lm3530.h
leds-bd2802.h
leds-lp3944.h
leds-lp3952.h
leds-pca9532.h
leds-regulator.h
leds-tca6507.h
leds-ti-lmu-common.h
leds.h
leds: core: Fix leds.h structure documentation
2019-10-08 22:05:58 +02:00
leds_pwm.h
libata.h
ata: make qc_prep return ata_completion_errors
2020-10-01 13:18:26 +02:00
libfdt.h
libfdt_env.h
libfdt: define INT32_MAX and UINT32_MAX in libfdt_env.h
2020-01-04 19:18:28 +01:00
libgcc.h
libnvdimm.h
libps2.h
license.h
lightnvm.h
limits.h
linkage.h
linkage: Introduce new macros for assembler symbols
2020-11-10 12:37:24 +01:00
linkmode.h
linux_logo.h
lis3lv02d.h
list.h
list_bl.h
list_lru.h
list_nulls.h
rcu: Use WRITE_ONCE() for assignments to ->pprev for hlist_nulls
2020-02-24 08:36:45 +01:00
list_sort.h
livepatch.h
llc.h
llist.h
lockdep.h
lockref.h
log2.h
include/linux/log2.h: add missing () around n in roundup_pow_of_two()
2020-09-09 19:12:29 +02:00
logic_pio.h
lp.h
lru_cache.h
lsm_audit.h
lsm_hooks.h
Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
2019-09-28 08:14:15 -07: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.h
mei_cl_bus.h
mem_encrypt.h
memblock.h
memcontrol.h
mm, memcg: fix inconsistent oom event behavior
2020-05-20 08:20:27 +02:00
memfd.h
memory.h
mm/memory_hotplug: fix try_offline_node()
2019-11-15 18:34:00 -08:00
memory_hotplug.h
mm/memory_hotplug: shrink zones when offlining memory
2020-01-09 10:19:56 +01:00
mempolicy.h
Revert "Revert "mm, thp: restore node-local hugepage allocations""
2019-09-28 14:05:38 -07:00
mempool.h
memremap.h
libnvdimm fixes v5.4-rc1
2019-09-29 10:33:41 -07:00
memstick.h
memstick: Skip allocating card when removing host
2020-10-07 08:01:25 +02:00
mic_bus.h
micrel_phy.h
net: phy: micrel: Update KSZ87xx PHY name
2019-10-17 16:31:52 -07:00
microchipphy.h
migrate.h
migrate_mode.h
mii.h
net: phy: fix write to mii-ctrl1000 register
2019-10-04 18:11:08 -07:00
miscdevice.h
rfkill: allocate static minor
2019-12-13 08:43:18 +01:00
mISDNdsp.h
mISDNhw.h
mISDNif.h
mm-arch-hooks.h
mm.h
mm: always have io_remap_pfn_range() set pgprot_decrypted()
2020-11-10 12:37:27 +01:00
mm_inline.h
mm_types.h
mm: thp: handle page cache THP correctly in PageTransCompoundMap
2019-11-06 08:28:58 -08:00
mm_types_task.h
fork: improve error message for corrupted page tables
2019-09-25 17:51:40 -07:00
mman.h
mmdebug.h
mmiotrace.h
mmu_context.h
mmu_notifier.h
mmzone.h
mm: replace memmap_context by meminit_context
2020-10-07 08:01:29 +02:00
mnt_namespace.h
mod_devicetable.h
Input: add SW_MACHINE_COVER
2020-07-29 10:18:36 +02:00
module.h
Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity
2019-09-27 19:37:27 -07:00
module_signature.h
moduleloader.h
moduleparam.h
mount.h
moxtet.h
mpage.h
mpi.h
mpls.h
mpls_iptunnel.h
mroute.h
mroute6.h
mroute_base.h
msdos_fs.h
msg.h
msi.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-14 10:33:00 +02:00
netdev_features.h
netdevice.h
net: core: reduce recursion limit value
2020-06-30 15:36:44 -04:00
netfilter.h
netfilter: clear skb->next in NF_HOOK_LIST()
2020-12-02 08:49:44 +01:00
netfilter_bridge.h
netfilter_defs.h
netfilter_ingress.h
netfilter_ipv4.h
netfilter: use actual socket sk rather than skb sk when routing harder
2020-11-18 19:20:17 +01:00
netfilter_ipv6.h
netfilter: use actual socket sk rather than skb sk when routing harder
2020-11-18 19:20:17 +01:00
netlink.h
netpoll.h
nfs.h
nfs3.h
nfs4.h
nfs_fs.h
nfs: set invalid blocks after NFSv4 writes
2020-06-24 17:50:44 +02:00
nfs_fs_i.h
nfs_fs_sb.h
nfs_iostat.h
nfs_page.h
NFS: Fix races nfs_page_group_destroy() vs nfs_destroy_unlinked_subrequests()
2020-10-01 13:17:52 +02:00
nfs_xdr.h
NFSv4.1: fix handling of backchannel binding in BIND_CONN_TO_SESSION
2020-05-06 08:15:05 +02:00
nfsacl.h
nl802154.h
nls.h
nmi.h
node.h
mm: don't rely on system state to detect hot-plug operations
2020-10-07 08:01:30 +02:00
nodemask.h
nospec.h
notifier.h
ns_common.h
nsc_gpio.h
nsproxy.h
ntb.h
ntb_transport.h
nubus.h
numa.h
nvme-fc-driver.h
nvme-fc: Revert "add module to ops template to allow module references"
2020-04-17 10:50:10 +02:00
nvme-fc.h
nvme-rdma.h
nvme-tcp.h
nvme.h
nvme: introduce "Command Aborted By host" status code
2019-12-31 16:44:40 +01:00
nvmem-consumer.h
nvmem: core: fix nvmem_cell_write inline function
2019-12-31 16:44:43 +01:00
nvmem-provider.h
nvram.h
objagg.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
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-29 09:57:45 +01:00
openvswitch.h
oprofile.h
osq_lock.h
overflow.h
overflow: Include header file with SIZE_MAX declaration
2020-10-29 09:57:51 +01:00
packing.h
padata.h
padata: add separate cpuhp node for CPUHP_PADATA_DEAD
2020-06-17 16:40:22 +02:00
page-flags-layout.h
page-flags.h
page-flags: fix a crash at SetPageError(THP_SWAP)
2020-03-25 08:25:58 +01:00
page-isolation.h
page_counter.h
page_ext.h
mm, page_owner: rename flag indicating that page is allocated
2019-10-14 15:04:00 -07:00
page_idle.h
page_owner.h
mm/page_owner: change split_page_owner to take a count
2020-10-29 09:57:52 +01:00
page_ref.h
pageblock-flags.h
pagemap.h
mm: page cache: store only head pages in i_pages
2019-09-24 15:54:08 -07:00
pagevec.h
pagewalk.h
parman.h
parport.h
parport_pc.h
parser.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: endpoint: Fix for concurrent memory allocation in OB address region
2020-04-17 10:50:11 +02:00
pci-epf.h
pci-p2pdma.h
pci.h
PCI/IOV: Mark VFs as not implementing PCI_COMMAND_MEMORY
2020-10-29 09:57:54 +01:00
pci_hotplug.h
pci_ids.h
x86/amd_nb: Add AMD family 17h model 60h PCI IDs
2020-06-22 09:31:17 +02:00
pda_power.h
pe.h
percpu-defs.h
percpu: Separate decrypted varaibles anytime encryption can be enabled
2020-02-11 04:35:44 -08:00
percpu-refcount.h
percpu-rwsem.h
percpu.h
percpu_counter.h
percpu_counter: fix a data race at vm_committed_as
2020-04-23 10:36:37 +02:00
perf_event.h
perf/headers: Fix spelling s/EACCESS/EACCES/, s/privilidge/privilege/
2019-10-28 11:02:01 +01:00
perf_regs.h
personality.h
pfn.h
pfn_t.h
phonet.h
phy.h
net: phy: fix MDIO bus PM PHY resuming
2020-03-18 07:17:46 +01:00
phy_fixed.h
phy_led_triggers.h
phylink.h
pid.h
pid_namespace.h
pim.h
pipe_fs_i.h
pkeys.h
pktcdvd.h
pl320-ipc.h
pl353-smc.h
platform_device.h
driver code: clarify and fix platform device DMA mask allocation
2020-03-18 07:17:56 +01:00
plist.h
pm-trace.h
pm.h
PM: runtime: Fix timer_expires data type on 32-bit arches
2020-11-01 12:01:06 +01:00
pm2301_charger.h
pm_clock.h
pm_domain.h
pm_opp.h
pm_qos.h
PM / QoS: Redefine FREQ_QOS_MAX_DEFAULT_VALUE to S32_MAX
2019-12-21 11:04:31 +01:00
pm_runtime.h
PM: runtime: Add pm_runtime_resume_and_get to deal with usage counter
2020-12-30 11:50:53 +01:00
pm_wakeirq.h
pm_wakeup.h
pmbus.h
pmu.h
pnfs_osd_xdr.h
pnp.h
pnp: Use list_for_each_entry() instead of open coding
2020-05-20 08:20:27 +02:00
poison.h
poll.h
posix-clock.h
ptp: fix the race between the release of ptp_clock and cdev
2020-01-04 19:18:48 +01:00
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
random32: make prandom_u32() output unpredictable
2020-11-18 19:20:20 +01:00
preempt.h
prefetch.h
i40e: optimise prefetch page refcount
2020-12-30 11:50:55 +01:00
prime_numbers.h
printk.h
printk: queue wake_up_klogd irq_work only if per-CPU areas are ready
2020-05-02 08:48:42 +02:00
proc_fs.h
proc_ns.h
processor.h
profile.h
projid.h
property.h
psci.h
pseudo_fs.h
psi.h
psi_types.h
psp-sev.h
pstore.h
pstore_ram.h
pti.h
ptp_classify.h
ptp_clock_kernel.h
ptr_ring.h
ptrace.h
purgatory.h
pvclock_gtod.h
pwm.h
pwm: Ensure pwm_apply_state() doesn't modify the state argument
2019-09-21 03:25:10 +02:00
pwm_backlight.h
pxa2xx_ssp.h
pxa168_eth.h
qcom-geni-se.h
serial: qcom_geni_serial: To correct QUP Version detection logic
2020-11-01 12:01:06 +01:00
qcom_scm.h
qnx6_fs.h
quota.h
fs/quota: handle overflows of sysctl fs.quota.* and report as unsigned long
2020-01-04 19:17:25 +01:00
quotaops.h
quota: Check that quota is not dirty before release
2019-12-17 19:56:43 +01:00
radix-tree.h
radix tree: Remove radix_tree_iter_find
2019-11-01 22:26:34 -04:00
raid_class.h
ramfs.h
random.h
random32: move the pseudo-random 32-bit definitions to prandom.h
2020-08-07 09:34:01 +02:00
range.h
ras.h
ratelimit.h
rational.h
rbtree.h
rbtree_augmented.h
augmented rbtree: rework the RB_DECLARE_CALLBACKS macro definition
2019-09-25 17:51:39 -07:00
rbtree_latch.h
rcu_node_tree.h
rcu_segcblist.h
rcu_sync.h
rculist.h
rculist_bl.h
rculist_nulls.h
rcu: Use WRITE_ONCE() for assignments to ->pprev for hlist_nulls
2020-02-24 08:36:45 +01:00
rcupdate.h
rcupdate_wait.h
rcutiny.h
rcutree.h
rcuwait.h
tasks, sched/core: With a grace period after finish_task_switch(), remove unnecessary code
2019-09-25 17:42:29 +02:00
reboot-mode.h
reboot.h
reciprocal_div.h
refcount.h
regmap.h
regset.h
relay.h
remoteproc.h
reset-controller.h
reset: fix reset_control_ops kerneldoc comment
2019-10-28 12:18:23 +01:00
reset.h
reset: fix reset_control_get_exclusive kerneldoc comment
2019-10-24 10:26:33 +02:00
resource.h
resource_ext.h
restart_block.h
rfkill.h
rhashtable-types.h
rhashtable.h
rhashtable: Fix unprotected RCU dereference in __rht_ptr
2020-08-05 09:59:47 +02:00
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
signal: Extend exec_id to 64bits
2020-04-17 10:50:12 +02:00
sched_clock.h
scif.h
scmi_protocol.h
scpi_protocol.h
screen_info.h
sctp.h
scx200.h
scx200_gpio.h
sdb.h
sdla.h
seccomp.h
securebits.h
security.h
fix namespaced fscaps when !CONFIG_SECURITY
2020-12-30 11:51:30 +01:00
sed-opal.h
seg6.h
seg6_genl.h
seg6_hmac.h
seg6_iptunnel.h
seg6_local.h
selection.h
vt: selection, introduce vc_is_sel
2020-04-02 15:11:00 +02:00
sem.h
semaphore.h
seq_buf.h
seq_buf: Avoid type mismatch for seq_buf_init
2020-12-30 11:51:21 +01:00
seq_file.h
seq_file_net.h
seqlock.h
seqlock: Require WRITE_ONCE surrounding raw_seqcount_barrier
2020-10-01 13:17:25 +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
x86/{mce,mm}: Unmap the entire page if the whole page is affected and poisoned
2020-06-17 16:40:31 +02:00
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
mm: shrinker: make shrinker not depend on memcg kmem
2019-09-24 15:54:11 -07:00
signal.h
signal_types.h
signalfd.h
siox.h
siphash.h
sirfsoc_dma.h
sizes.h
skb_array.h
skbuff.h
skbuff: fix a data race in skb_queue_len()
2020-10-01 13:17:31 +02:00
skmsg.h
bpf: sockmap: Require attach_bpf_fd when detaching a program
2020-08-07 09:34:02 +02:00
slab.h
mm, sl[aou]b: guarantee natural alignment for kmalloc(power-of-two)
2019-10-07 15:47:20 -07:00
slab_def.h
slimbus.h
slub_def.h
sm501-regs.h
sm501.h
smc91x.h
smc911x.h
smp.h
smpboot.h
smsc911x.h
smscphy.h
sock_diag.h
socket.h
net: increase SOMAXCONN to 4096
2019-10-31 14:01:40 -07:00
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_key.h
stddef.h
stm.h
stmmac.h
stmp3xxx_rtc_wdt.h
stmp_device.h
stop_machine.h
string.h
string.h: fix incompatibility between FORTIFY_SOURCE and KASAN
2020-06-22 09:31:12 +02:00
string_helpers.h
stringhash.h
stringify.h
sungem_phy.h
sunserialcore.h
sunxi-rsb.h
superhyway.h
suspend.h
ACPI: PM: s2idle: Avoid possible race related to the EC GPE
2020-02-19 19:52:56 +01:00
svga.h
sw842.h
swab.h
uapi: rename ext2_swab() to swab() and share globally in swab.h
2020-04-13 10:48:07 +02:00
swait.h
swap.h
mm: introduce MADV_PAGEOUT
2019-09-25 17:51:41 -07:00
swap_cgroup.h
swap_slots.h
swapfile.h
swapops.h
include/linux/swapops.h: correct guards for non_swap_entry()
2020-04-23 10:36:37 +02:00
swiotlb.h
swiotlb: using SIZE_MAX needs limits.h included
2020-11-24 13:29:04 +01:00
switchtec.h
sxgbe_platform.h
sync_core.h
sync_file.h
synclink.h
sys.h
sys_soc.h
syscalls.h
syscore_ops.h
sysctl.h
sysfs.h
sysfs: Fixes __BIN_ATTR_WO() macro
2019-10-02 10:06:45 +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
tcp: allow at most one TLP probe per flight
2020-07-31 18:39:31 +02:00
tee_drv.h
textsearch.h
textsearch_fsm.h
tfrc.h
thermal.h
thread_info.h
uaccess: disallow > INT_MAX copy sizes
2020-01-04 19:18:42 +01:00
threads.h
thunderbolt.h
ti-emif-sram.h
ti_wilink_st.h
tick.h
tifm.h
timb_dma.h
timb_gpio.h
time.h
tcp: fix rejected syncookies due to stale timestamps
2019-12-18 16:08:43 +01:00
time32.h
time64.h
time: Prevent undefined behaviour in timespec64_to_ns()
2020-11-18 19:20:15 +01:00
timecounter.h
timekeeper_internal.h
timekeeping.h
timekeeping32.h
timer.h
timerfd.h
timeriomem-rng.h
timerqueue.h
timex.h
tnum.h
bpf: Fix incorrect verifier simulation of ARSH under ALU32
2020-01-23 08:22:44 +01:00
topology.h
torture.h
toshiba.h
tpm.h
tpm: Unify the mismatching TPM space buffer sizes
2020-08-19 08:16:27 +02:00
tpm_command.h
tpm_eventlog.h
tpm: Require that all digests are present in TCG_PCR_EVENT2 structures
2020-08-19 08:15:57 +02:00
trace.h
trace_clock.h
trace_events.h
trace_seq.h
seq_buf: Avoid type mismatch for seq_buf_init
2020-12-30 11:51:21 +01:00
tracefs.h
tracehook.h
tracepoint-defs.h
tracepoint.h
tracepoint: Mark __tracepoint_string's __used
2020-08-19 08:15:53 +02:00
transport_class.h
ts-nbus.h
tsacct_kern.h
tty.h
tty: Fix ->session locking
2020-12-11 13:23:28 +01:00
tty_driver.h
tty_flip.h
tty_ldisc.h
typecheck.h
types.h
u64_stats_sync.h
uaccess.h
uaccess: Add non-pagefault user-space write function
2020-01-17 19:48:40 +01:00
ucb1400.h
ucs2_string.h
udp.h
uidgid.h
uio.h
uio_driver.h
umh.h
unicode.h
uprobes.h
usb.h
usb_usual.h
USB: UAS: introduce a quirk to set no_write_same
2020-12-21 13:27:06 +01:00
usbdevice_fs.h
user-return-notifier.h
user.h
user_namespace.h
userfaultfd_k.h
util_macros.h
uts.h
utsname.h
uuid.h
vbox_utils.h
verification.h
vermagic.h
vexpress.h
vfio.h
vfs.h
vga_switcheroo.h
vgaarb.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_net.h
net: be more gentle about silly gso requests coming from user
2020-06-10 20:24:55 +02:00
virtio_ring.h
virtio_vsock.h
vsock/virtio: add transport parameter to the virtio_transport_reset_no_sock()
2020-10-07 08:01:24 +02:00
visorbus.h
vlynq.h
vm_event_item.h
vm_sockets.h
vmacache.h
vmalloc.h
vmalloc: fix remap_vmalloc_range() bounds checks
2020-04-29 16:33:14 +02:00
vme.h
vmpressure.h
vmstat.h
vmw_vmci_api.h
vmw_vmci_defs.h
vringh.h
vt.h
vt_buffer.h
vt_kern.h
vt: switch vt_dont_switch to bool
2020-04-02 15:11:00 +02:00
vtime.h
w1-gpio.h
w1.h
wait.h
wait_bit.h
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: Fix early termination of xas_for_each_marked
2020-04-17 10:50:18 +02:00
xattr.h
xattr: break delegations in {set,remove}xattr
2020-08-11 15:33:39 +02:00
xxhash.h
xz.h
yam.h
z2_battery.h
zbud.h
zconf.h
zlib.h
zorro.h
zpool.h
zpool: add malloc_support_movable to zpool_driver
2019-09-24 15:54:12 -07:00
zsmalloc.h
mm/zsmalloc.c: drop ZSMALLOC_PGTABLE_MAPPING
2020-12-16 10:56:59 +01:00
zstd.h
zutil.h