Adrian Reber
ef8a66d0ee
UPSTREAM: capabilities: Introduce CAP_CHECKPOINT_RESTORE
...
This patch introduces CAP_CHECKPOINT_RESTORE, a new capability facilitating
checkpoint/restore for non-root users.
Over the last years, The CRIU (Checkpoint/Restore In Userspace) team has
been asked numerous times if it is possible to checkpoint/restore a
process as non-root. The answer usually was: 'almost'.
The main blocker to restore a process as non-root was to control the PID
of the restored process. This feature available via the clone3 system
call, or via /proc/sys/kernel/ns_last_pid is unfortunately guarded by
CAP_SYS_ADMIN.
In the past two years, requests for non-root checkpoint/restore have
increased due to the following use cases:
* Checkpoint/Restore in an HPC environment in combination with a
resource manager distributing jobs where users are always running as
non-root. There is a desire to provide a way to checkpoint and
restore long running jobs.
* Container migration as non-root
* We have been in contact with JVM developers who are integrating
CRIU into a Java VM to decrease the startup time. These
checkpoint/restore applications are not meant to be running with
CAP_SYS_ADMIN.
We have seen the following workarounds:
* Use a setuid wrapper around CRIU:
See https://github.com/FredHutch/slurm-examples/blob/master/checkpointer/lib/checkpointer/checkpointer-suid.c
* Use a setuid helper that writes to ns_last_pid.
Unfortunately, this helper delegation technique is impossible to use
with clone3, and is thus prone to races.
See https://github.com/twosigma/set_ns_last_pid
* Cycle through PIDs with fork() until the desired PID is reached:
This has been demonstrated to work with cycling rates of 100,000 PIDs/s
See https://github.com/twosigma/set_ns_last_pid
* Patch out the CAP_SYS_ADMIN check from the kernel
* Run the desired application in a new user and PID namespace to provide
a local CAP_SYS_ADMIN for controlling PIDs. This technique has limited
use in typical container environments (e.g., Kubernetes) as /proc is
typically protected with read-only layers (e.g., /proc/sys) for
hardening purposes. Read-only layers prevent additional /proc mounts
(due to proc's SB_I_USERNS_VISIBLE property), making the use of new
PID namespaces limited as certain applications need access to /proc
matching their PID namespace.
The introduced capability allows to:
* Control PIDs when the current user is CAP_CHECKPOINT_RESTORE capable
for the corresponding PID namespace via ns_last_pid/clone3.
* Open files in /proc/pid/map_files when the current user is
CAP_CHECKPOINT_RESTORE capable in the root namespace, useful for
recovering files that are unreachable via the file system such as
deleted files, or memfd files.
See corresponding selftest for an example with clone3().
Change-Id: Ia9ae3fc9a698e37774be945bac5a7d2a0d640cbc
Signed-off-by: Adrian Reber <areber@redhat.com>
Signed-off-by: Nicolas Viennot <Nicolas.Viennot@twosigma.com>
Reviewed-by: Serge Hallyn <serge@hallyn.com>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/20200719100418.2112740-2-areber@redhat.com
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: ralph950412 <ralph950412@gmail.com>
2026-07-09 09:06:38 -04:00
..
amba
avf
bcma
byteorder
can
ceph
clk
crush
decompress
dma
dsa
extcon
firmware
firmware: meson_sm: Rework driver as a proper platform driver
2024-04-13 12:51:26 +02:00
fpga
fsl
gpio
greybus
haven
hsi
i3c
iio
iio: frequency: adf4350: Fix ADF4350_REG3_12BIT_CLKDIV_MODE
2025-10-29 13:59:50 +01:00
input
irqchip
isdn
lockd
mailbox
mdio
mfd
mlx4
net/mlx4_core: Avoid impossible mlx4_db_alloc() order value
2025-06-04 14:32:33 +02:00
mlx5
RDMA/mlx5: Enforce same type port association for multiport RoCE
2025-01-09 13:23:34 +01:00
mmc
mmc: sdhci-msm: Disable partial_init and clk-scaling to avoid RED error
2024-04-18 10:46:06 +05:30
mtd
Merge android11-5.4.289(4c8fb32) into msm-5.4
2025-03-26 11:56:22 +05:30
mux
netfilter
Revert "netfilter: Replace zero-length array with flexible-array member"
2025-01-14 17:17:17 +00:00
netfilter_arp
Revert "netfilter: Replace zero-length array with flexible-array member"
2025-01-14 17:17:17 +00:00
netfilter_bridge
Revert "netfilter: Replace zero-length array with flexible-array member"
2025-01-14 17:17:17 +00:00
netfilter_ipv4
Revert "netfilter: Replace zero-length array with flexible-array member"
2025-01-14 17:17:17 +00:00
netfilter_ipv6
Revert "netfilter: Replace zero-length array with flexible-array member"
2025-01-14 17:17:17 +00:00
perf
phy
pinctrl
platform_data
Merge android11-5.4.289(4c8fb32) into msm-5.4
2025-03-26 11:56:22 +05:30
power
qed
qed: Improve the stack space of filter_config()
2024-08-19 05:33:30 +02:00
qpnp
raid
regulator
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
remoteproc
reset
rpmsg
rtc
sched
UPSTREAM: fork: extend clone3() to support setting a PID
2026-07-09 09:06:38 -04:00
slimbus
soc
soc: qcom: mdt_loader: Read hash from firmware blob
2024-08-08 16:32:23 -05:00
soundwire
spi
Revert "spi: Fix deadlock when adding SPI controllers on SPI buses"
2024-11-21 22:00:36 +00:00
ssb
sunrpc
SUNRPC: Replace internal use of SOCKWQ_ASYNC_NOSPACE
2024-12-14 19:44:42 +01:00
ulpi
unaligned
usb
usb: Undo qcom damage
2026-04-30 21:08:27 +03:00
wimax
8250_pci.h
a.out.h
acct.h
acpi.h
acpi_dma.h
acpi_iort.h
acpi_pmtmr.h
adb.h
adc-tm-clients.h
adfs_fs.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
android_kabi.h
android_vendor.h
anon_inodes.h
UPSTREAM: fs: add LSM-supporting anon-inode interface
2025-02-20 04:17:45 +02:00
apm-emulation.h
apm_bios.h
apple-gmux.h
apple_bl.h
arch_topology.h
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
ata.h
ata: libata-scsi: Fix system suspend for a security locked drive
2025-12-03 12:45:21 +01:00
ata_platform.h
atalk.h
ath9k_platform.h
atm.h
atm_suni.h
atm_tcp.h
atmdev.h
atm: atmtcp: Prevent arbitrary write in atmtcp_recv_control().
2025-09-04 14:05:54 +02:00
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
backing-dev.h
writeback: fix false warning in inode_to_wb()
2025-05-02 07:39:19 +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
Revert "coredump: hand a pidfd to the usermode coredump helper"
2025-06-05 07:57:32 +00:00
bio-crypt-ctx.h
bio.h
bit_spinlock.h
bitfield.h
bitmap.h
fix bitmap corruption on close_range() with CLOSE_RANGE_UNSHARE
2024-09-04 13:14:50 +02:00
bitops.h
bitrev.h
bits.h
blk-cgroup.h
blk-crypto.h
blk-mq-pci.h
blk-mq-rdma.h
blk-mq-virtio.h
blk-mq.h
blk-pm.h
blk_types.h
blkdev.h
Merge 5.4.287 into android11-5.4-lts
2024-12-16 10:50:16 +00:00
blkpg.h
blktrace_api.h
blockgroup_lock.h
bma150.h
bottom_half.h
bpf-cgroup.h
UPSTREAM: bpf: Fix potentially incorrect results with bpf_get_local_storage()
2026-01-14 18:12:57 -08:00
bpf-netns.h
UPSTREAM: bpf: Introduce SK_LOOKUP program type with a dedicated attach point
2026-01-14 18:12:05 -08:00
bpf.h
ANDROID: add kabi padding for bpf structures
2026-02-01 20:44:47 -08:00
bpf_lirc.h
bpf_local_storage.h
UPSTREAM: bpf: Split bpf_local_storage to bpf_sk_storage
2026-01-14 18:12:20 -08:00
bpf_lsm.h
UPSTREAM: bpf: Implement bpf_local_storage for inodes
2026-01-14 18:12:21 -08:00
bpf_trace.h
bpf_types.h
BACKPORT: ANDROID: fuse-bpf: Use fuse_bpf_args in uapi
2026-05-08 21:46:17 +02:00
bpf_verifier.h
ANDROID: add kabi padding for bpf_verifier structure
2026-02-01 20:44:56 -08:00
bpfilter.h
UPSTREAM: bpfilter: switch bpfilter_ip_set_sockopt to sockptr_t
2026-02-01 20:44:55 -08:00
brcmphy.h
bsearch.h
bsg-lib.h
bsg.h
btf.h
UPSTREAM: bpf: Introduce bpf_per_cpu_ptr()
2026-01-14 18:12:39 -08:00
btf_ids.h
BACKPORT: btf: Add BTF_ID_LIST_SINGLE macro
2026-01-14 18:12:31 -08:00
btpower.h
btree-128.h
btree-type.h
btree.h
btrfs.h
buffer_head.h
bug.h
build-salt.h
build_bug.h
bvec.h
c2port.h
cache.h
cacheinfo.h
capability.h
UPSTREAM: capabilities: Introduce CAP_CHECKPOINT_RESTORE
2026-07-09 09:06:38 -04:00
cb710.h
cciss_ioctl.h
ccp.h
cdev.h
cdrom.h
cfag12864b.h
cfi.h
cgroup-defs.h
UPSTREAM: mm: memcontrol: recursive memory.low protection
2026-01-14 18:13:12 -08:00
cgroup.h
UPSTREAM: cgroup: use cgrp->kn->id as the cgroup ID
2025-12-23 13:36:09 -08:00
cgroup_rdma.h
cgroup_subsys.h
circ_buf.h
cleancache.h
clk-provider.h
clk.h
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
BACKPORT: sysctl: pass kernel pointers to ->proc_handler
2025-12-23 13:36:15 -08:00
compat.h
BACKPORT: epoll: wire up syscall epoll_pwait2
2025-12-22 07:42:50 +02:00
compiler-clang.h
compiler-gcc.h
compiler-intel.h
compiler.h
compiler_attributes.h
Fix gcc 4.9 build issue in 5.4.y
2024-08-19 05:33:53 +02:00
compiler_types.h
This is the 5.4.302 stable release
2025-12-11 09:41:30 +00: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
cookie.h
UPSTREAM: bpf, net: Rework cookie generator as per-cpu one
2026-01-14 18:12:39 -08:00
cordic.h
coredump.h
coresight-cti.h
coresight-pmu.h
coresight-stm.h
coresight.h
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_times.h
cpuhotplug.h
cpuidle.h
cpuidle_haltpoll.h
cpumask.h
Merge android11-5.4.289(4c8fb32) into msm-5.4
2025-03-26 11:56:22 +05:30
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
crypto-qti-common.h
crypto.h
crypto_qti_virt.h
cryptohash.h
BACKPORT: crypto: lib/sha1 - rename "sha" to "sha1"
2025-12-23 13:36:17 -08:00
cs5535.h
ctype.h
cuda.h
cyclades.h
davinci_emac.h
dax.h
UPSTREAM: dax, pmem: Add a dax operation zero_page_range
2026-05-08 21:46:12 +02:00
dca.h
dcache.h
dccp.h
dcookies.h
debug_locks.h
debugfs.h
debugobjects.h
delay.h
delayacct.h
delayed_call.h
devcoredump.h
devfreq-event.h
devfreq.h
devfreq_cooling.h
device-mapper.h
This is the 5.4.283 stable release
2024-09-06 11:18:13 +00:00
device.h
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
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-ref.h
dma-buf.h
dma-contiguous.h
dma-debug.h
dma-direct.h
dma-direction.h
dma-fence-array.h
dma-fence-chain.h
dma-fence.h
dma-iommu.h
dma-mapping-fast.h
dma-mapping.h
Merge android11-5.4.295(387dbb9) into msm-5.4
2025-09-29 05:22:53 -07:00
dma-noncoherent.h
dma-resv.h
dmaengine.h
dmaengine: fix is_slave_direction() return false when DMA_DEV_TO_DEV
2024-02-23 08:25:06 +01:00
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
misc: eeprom: eeprom_93cx6: Add quirk for extra read clock cycle
2024-12-14 19:44:55 +01:00
eeprom_93xx46.h
efi-bgrt.h
efi.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
err.h
errno.h
error-injection.h
errqueue.h
errseq.h
esoc_client.h
etherdevice.h
ethernet: Add helper for assigning packet type when dest address does not match device address
2024-05-02 16:18:36 +02:00
ethtool.h
eventfd.h
eventpoll.h
evm.h
export.h
exportfs.h
ext2_fs.h
extable.h
BACKPORT: bpf: Add support for BTF pointers to x86 JIT
2025-12-23 13:35:36 -08:00
extcon-provider.h
extcon.h
f2fs_fs.h
f75375s.h
falloc.h
fanotify.h
fastcvpd.h
fault-inject.h
fb.h
fbcon.h
fcdevice.h
fcntl.h
fd.h
fddidevice.h
fdtable.h
UPSTREAM: close_range(): fix the logics in descriptor table trimming
2025-12-22 04:28:18 +02:00
fec.h
file.h
filter.h
UPSTREAM: inet6: Run SK_LOOKUP BPF program on socket lookup
2026-01-14 18:13:17 -08:00
fips.h
firewire.h
firmware-map.h
firmware.h
fixp-arith.h
flat.h
flex_proportions.h
font.h
frame.h
objtool: Add support for intra-function calls
2024-04-13 12:51:29 +02:00
freezer.h
frontswap.h
fs.h
BACKPORT: vfs: add vfs_iocb_iter_[read|write] helper functions
2026-05-08 21:46:16 +02:00
fs_context.h
UPSTREAM: fuse: reject options on reconfigure via fsconfig(2)
2026-05-08 21:46:11 +02: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
This is the 5.4.280 stable release
2024-07-19 13:19:29 +00:00
fsnotify_backend.h
fsverity.h
ftrace.h
ftrace: Let ftrace_enable_sysctl take a kernel pointer buffer
2026-02-01 20:38:01 -08:00
ftrace_irq.h
futex.h
fwnode.h
gameport.h
gcd.h
genalloc.h
generic-radix-tree.h
genetlink.h
genhd.h
genl_magic_func.h
genl_magic_struct.h
getcpu.h
gfp.h
Merge android11-5.4.274 ( 564901b) into msm-5.4
2024-07-24 20:38:43 -07:00
glob.h
gnss.h
goldfish.h
gpio-pxa.h
gpio.h
gpio_keys.h
greybus.h
guest_shm.h
habmm.h
hardirq.h
hash.h
hashtable.h
hdcp_qseecom.h
hdlc.h
hdlcdrv.h
hdmi.h
hid-debug.h
hid-roccat.h
hid-sensor-hub.h
hid-sensor-ids.h
hid.h
usb: Undo qcom damage
2026-04-30 21:08:27 +03:00
hiddev.h
hidraw.h
highmem.h
highuid.h
hil.h
hil_mlc.h
hippidevice.h
hmm.h
host1x.h
gpu: host1x: mipi: Update tegra_mipi_request() to be node based
2024-03-26 18:22:18 -04:00
hp_sdc.h
hpet.h
hrtimer.h
reverting enum-conversion, Handle CPU state and all USB patches
2025-09-29 11:14:00 +05:30
hrtimer_defs.h
htcpld.h
huge_mm.h
hugetlb.h
BACKPORT: sysctl: pass kernel pointers to ->proc_handler
2025-12-23 13:36:15 -08:00
hugetlb_cgroup.h
hugetlb_inline.h
Revert "mm: provide speculative fault infrastructure"
2025-05-24 05:44:05 +00:00
hw_breakpoint.h
hw_random.h
hwkm.h
hwmon-sysfs.h
hwmon-vid.h
hwmon.h
hwspinlock.h
hyperv.h
Drivers: hv: util: Avoid accessing a ringbuffer not initialized yet
2025-01-09 13:23:33 +01:00
hypervisor.h
i2c-algo-bit.h
i2c-algo-pca.h
i2c-algo-pcf.h
i2c-dev.h
i2c-msm-v2.h
i2c-mux.h
i2c-pxa.h
i2c-smbus.h
i2c.h
i2c: Use IS_REACHABLE() for substituting empty ACPI functions
2024-09-12 11:03:50 +02:00
i8042.h
i8253.h
clockevents/drivers/i8253: Fix stop sequence for timer 0
2025-04-10 14:29:34 +02:00
icmp.h
icmpv6.h
ide.h
idle_inject.h
idr.h
ieee80211.h
ieee802154.h
if_arp.h
if_bridge.h
net: bridge: Fix for co-located mode
2025-12-01 04:15:06 -08:00
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
net: vlan: Replace BUG() with WARN_ON_ONCE() in vlan_dev_* stubs
2025-08-28 16:21:27 +02:00
igmp.h
ihex.h
ima.h
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_task.h
initrd.h
inotify.h
input-polldev.h
input.h
integrity.h
intel-iommu.h
intel-ish-client-if.h
intel-pti.h
intel-svm.h
intel_rapl.h
intel_th.h
interconnect-provider.h
interconnect.h
interrupt.h
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
interval_tree.h
interval_tree_generic.h
io-64-nonatomic-hi-lo.h
io-64-nonatomic-lo-hi.h
io-mapping.h
io-pgtable-fast.h
iommu: Fix invalid access in av8l_fast_unmap_public
2025-04-17 19:01:13 +05:30
io-pgtable.h
io.h
ioc3.h
iocontext.h
iomap.h
iommu-helper.h
iommu.h
Merge android11-5.4.281 ( d62984a) into msm-5.4
2024-10-29 01:43:17 -07:00
ion.h
iopoll.h
ioport.h
ioprio.h
iova.h
ip.h
ipa.h
ipa_eth.h
ipa_fmwk.h
ipa_mhi.h
ipa_odu_bridge.h
ipa_qdss.h
ipa_uc_offload.h
ipa_usb.h
ipa_wdi3.h
msm: ipa3: change variable name for indication of
2024-03-13 08:33:14 -07:00
ipa_wigig.h
ipack.h
ipc.h
ipc_logging.h
ipc_namespace.h
ipmi-fru.h
ipmi.h
ipmi_smi.h
ipv6.h
BACKPORT: net: change accept_ra_min_rtr_lft to affect all RA lifetimes
2026-05-07 10:16:30 -04:00
ipv6_route.h
irq.h
Revert "genirq: Allow irq_chip registration functions to take a const irq_chip"
2024-08-30 10:05:12 +00:00
irq_cpustat.h
irq_poll.h
irq_sim.h
irq_work.h
UPSTREAM: irq_work: Convert flags to atomic_t
2025-12-23 13:35:39 -08:00
irqbypass.h
irqchip.h
irqdesc.h
irqdomain.h
Revert "genirq: Allow the PM device to originate from irq domain"
2024-08-30 10:05:12 +00: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: introduce/export functions jbd2_journal_submit|finish_inode_data_buffers()
2024-11-08 16:20:30 +01:00
jhash.h
jiffies.h
Merge 5.4.287 into android11-5.4-lts
2024-12-16 10:50:16 +00:00
journal-head.h
joystick.h
jump_label.h
jump_label_ratelimit.h
jz4740-adc.h
jz4780-nemc.h
kallsyms.h
This is the 5.4.291 stable release
2025-03-13 14:53:52 +00:00
kasan-checks.h
kasan.h
kbd_diacr.h
kbd_kern.h
kbuild.h
kconfig.h
kcore.h
kcov.h
kdb.h
kdebug.h
kdev_t.h
kern_levels.h
kernel-page-flags.h
kernel.h
kernel_stat.h
kernelcapi.h
kernfs.h
UPSTREAM: kernfs: Add option to enable user xattrs
2026-01-14 18:13:12 -08:00
kexec.h
key-type.h
key.h
keyboard.h
keyctl.h
keyslot-manager.h
kfence.h
UPSTREAM: kfence: fix is_kfence_address() for addresses below KFENCE_POOL_SIZE
2026-05-07 17:24:09 +03:00
kfifo.h
kgdb.h
khugepaged.h
klist.h
kmemleak.h
kmod.h
kmsg_dump.h
kobj_map.h
kobject.h
kobject_ns.h
kprobes.h
BACKPORT: sysctl: pass kernel pointers to ->proc_handler
2025-12-23 13:36:15 -08:00
kref.h
ks0108.h
ks8842.h
ks8851_mll.h
ksm.h
kthread.h
ktime.h
kvm_host.h
KVM: Explicitly verify target vCPU is online in kvm_get_vcpu()
2025-03-13 12:43:07 +01:00
kvm_irqfd.h
kvm_para.h
kvm_types.h
l2tp.h
lantiq.h
lapb.h
latencytop.h
BACKPORT: sysctl: pass kernel pointers to ->proc_handler
2025-12-23 13:36:15 -08:00
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-qpnp-flash-v2.h
leds-qpnp-flash.h
leds-qti-flash.h
leds-regulator.h
leds-tca6507.h
leds-ti-lmu-common.h
leds.h
leds: class: Protect brightness_show() with led_cdev->led_access mutex
2024-12-14 19:44:53 +01:00
leds_pwm.h
libata.h
libfdt.h
libfdt_env.h
libgcc.h
libnvdimm.h
libps2.h
license.h
lightnvm.h
limits.h
BACKPORT: bpf: Verifier, do explicit ALU32 bounds tracking
2025-12-23 13:36:11 -08:00
linkage.h
linkmode.h
linux_logo.h
lis3lv02d.h
list.h
UPSTREAM: list: Add hlist_unhashed_lockless()
2026-01-14 18:13:06 -08:00
list_bl.h
list_lru.h
list_nulls.h
list_sort.h
livepatch.h
llc.h
llist.h
lockdep.h
drm/syncobj: make lockdep complain on WAIT_FOR_SUBMIT v3
2024-03-01 13:13:38 +01:00
lockref.h
log2.h
logic_pio.h
lp.h
lru_cache.h
lsm_audit.h
lsm_hook_defs.h
BACKPORT: security: Refactor declaration of LSM hooks
2025-12-23 13:36:10 -08:00
lsm_hooks.h
BACKPORT: security: Refactor declaration of LSM hooks
2025-12-23 13:36:10 -08: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-buf.h
mem_encrypt.h
memblock.h
memcontrol.h
memfd.h
memory.h
memory_hotplug.h
mempolicy.h
mempool.h
memremap.h
memstick.h
mhi.h
mic_bus.h
micrel_phy.h
net: phy: mchp: Add support for LAN8814 QUAD PHY
2024-07-05 09:08:27 +02:00
microchipphy.h
migrate.h
Revert "mm/migrate: Pass vm_fault pointer to migrate_misplaced_page()"
2025-05-24 05:44:07 +00:00
migrate_mode.h
mii.h
miscdevice.h
mISDNdsp.h
mISDNhw.h
mISDNif.h
mm-arch-hooks.h
mm.h
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
mm_inline.h
mm_types.h
Revert "mm: make pte_unmap_same compatible with SPF"
2025-05-24 05:44:30 +00:00
mm_types_task.h
mman.h
mmap_lock.h
mmdebug.h
mmiotrace.h
mmu_context.h
mmu_notifier.h
mmzone.h
BACKPORT: sysctl: pass kernel pointers to ->proc_handler
2025-12-23 13:36:15 -08:00
mnt_namespace.h
mod_devicetable.h
module.h
module_signature.h
moduleloader.h
moduleparam.h
module: Restore the moduleparam prefix length check
2025-08-28 16:21:21 +02:00
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
msm-geni-se.h
msm-sps.h
msm_dma_iommu_mapping.h
msm_ep_pcie.h
msm: ep_pcie: Disable hot reset and ignore linkdown
2024-09-13 17:38:37 +05:30
msm_ext_display.h
msm_gpi.h
msm_gsi.h
msm_ion.h
msm_kgsl.h
msm_mhi_dev.h
msm_pcie.h
msm_rtb.h
msm_show_resume_irq.h
msm_smd_pkt.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
netdev_features.h
netdevice.h
Merge tag 'LA.UM.9.14.1.r1-21100-QCM6490.QISI15.0' of https://git.codelinaro.org/clo/la/kernel/msm-5.4 into android13-5.4-lahaina
2026-04-30 20:46:30 +03:00
netfilter.h
netfilter_bridge.h
netfilter_defs.h
netfilter_ingress.h
netfilter_ipv4.h
netfilter_ipv6.h
netlink.h
netpoll.h
netpoll: netpoll_send_skb() returns transmit status
2025-04-10 14:29:35 +02:00
neuron.h
neuron_block.h
nfcinfo.h
nfs.h
nfs: add missing selections of CONFIG_CRC32
2025-05-02 07:39:20 +02:00
nfs3.h
nfs4.h
nfs_fs.h
nfs: fix UAF in direct writes
2025-08-28 16:21:37 +02:00
nfs_fs_i.h
nfs_fs_sb.h
nfs_iostat.h
nfs_page.h
nfs_xdr.h
nfsacl.h
nl802154.h
nls.h
nmi.h
BACKPORT: sysctl: pass kernel pointers to ->proc_handler
2025-12-23 13:36:15 -08:00
node.h
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.h
nvme-rdma.h
nvme-tcp.h
nvme.h
nvme: fixup comment for nvme RDMA Provider Type
2024-07-05 09:08:28 +02:00
nvmem-consumer.h
nvmem-provider.h
nvram.h
objagg.h
mlxsw: spectrum_acl_erp: Fix object nesting warning
2024-08-19 05:33:28 +02:00
of.h
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
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
openvswitch.h
oprofile.h
osq_lock.h
overflow.h
overflow: Allow mixed type arguments
2025-03-13 12:42:52 +01:00
OWNERS
packing.h
padata.h
page-flags-layout.h
page-flags.h
page-isolation.h
page_counter.h
page_ext.h
page_idle.h
page_owner.h
page_ref.h
pageblock-flags.h
pagemap.h
Revert "mm: provide speculative fault infrastructure"
2025-05-24 05:44:05 +00: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-epf.h
pci-p2pdma.h
pci.h
Merge android11-5.4.295(387dbb9) into msm-5.4
2025-09-29 05:22:53 -07:00
pci_hotplug.h
pci_ids.h
This is the 5.4.291 stable release
2025-03-13 14:53:52 +00:00
pda_power.h
pe.h
percpu-defs.h
percpu-refcount.h
percpu-rwsem.h
percpu.h
percpu_counter.h
perf_event.h
UPSTREAM: perf: Expose get/put_callchain_entry()
2026-01-14 18:12:01 -08:00
perf_regs.h
personality.h
pfk.h
pfn.h
pfn_t.h
pgsize_migration.h
ANDROID: 16K: Don't copy data vma for maps/smaps output
2025-08-22 07:06:50 -07:00
pgsize_migration_inline.h
ANDROID: 16K: Introduce pgsize_migration_inline.h
2024-10-10 16:13:30 -07:00
phonet.h
phy.h
phy_fixed.h
phy_led_triggers.h
phylink.h
pid.h
UPSTREAM: fork: extend clone3() to support setting a PID
2026-07-09 09:06:38 -04:00
pid_namespace.h
UPSTREAM: fork: extend clone3() to support setting a PID
2026-07-09 09:06:38 -04:00
pim.h
pipe_fs_i.h
pkeys.h
pktcdvd.h
pl320-ipc.h
pl353-smc.h
platform_device.h
plist.h
pm-trace.h
pm.h
pm2301_charger.h
pm_clock.h
pm_domain.h
pm_opp.h
pm_qos.h
pm_runtime.h
This is the 5.4.269 stable release
2024-02-24 15:47:08 +00:00
pm_wakeirq.h
pm_wakeup.h
pmbus.h
pmic-voter.h
pmu.h
pnfs_osd_xdr.h
pnp.h
poison.h
poll.h
poll_wait: add mb() to fix theoretical race between waitqueue_active() and .poll()
2025-02-01 18:18:51 +01:00
posix-clock.h
posix-timers.h
posix_acl.h
posix_acl_xattr.h
power_supply.h
power: supply: core: Use blocking_notifier_call_chain to avoid RCU complaint
2025-05-25 16:53:58 +00:00
powercap.h
ppp-comp.h
ppp_channel.h
ppp_defs.h
pps-gpio.h
pps_kernel.h
pps: fix poll support
2025-08-28 16:21:18 +02:00
pr.h
prandom.h
preempt.h
prefetch.h
prime_numbers.h
printk.h
BACKPORT: sysctl: pass kernel pointers to ->proc_handler
2025-12-23 13:36:15 -08:00
proc_fs.h
UPSTREAM: bpf: Refactor to provide aux info to bpf_iter_init_seq_priv_t
2026-01-14 18:12:07 -08:00
proc_ns.h
UPSTREAM: fs/nsfs.c: Added ns_match
2025-12-23 13:36:04 -08:00
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_backlight.h
pxa2xx_ssp.h
pxa168_eth.h
qcom-geni-se.h
qcom_scm.h
firmware: qcom_scm: Add a call for getting dload mode
2024-06-21 10:36:14 +05:30
qcomwlan_secif.h
qcrypto.h
qnx6_fs.h
qtee_shmbridge.h
qti_power_supply.h
quota.h
quotaops.h
radix-tree.h
raid_class.h
ramfs.h
random.h
UPSTREAM: random: split initialization into early step and later step
2026-05-07 17:24:10 +03:00
range.h
ras.h
ratelimit.h
rational.h
rbtree.h
rbtree_augmented.h
rbtree_latch.h
rcu_node_tree.h
rcu_segcblist.h
rcu_sync.h
rculist.h
UPSTREAM: list: Add hlist_unhashed_lockless()
2026-01-14 18:13:06 -08:00
rculist_bl.h
rculist_nulls.h
rcupdate.h
UPSTREAM: rcu-tasks: Add an RCU-tasks rude variant
2026-01-14 18:12:25 -08:00
rcupdate_trace.h
UPSTREAM: rcu-tasks: Add an RCU Tasks Trace to simplify protection of tracing hooks
2026-01-14 18:12:26 -08:00
rcupdate_wait.h
rcutiny.h
rcutree.h
rcu: fix header guard for rcu_all_qs()
2025-06-04 14:32:34 +02:00
rcuwait.h
reboot-mode.h
reboot.h
reciprocal_div.h
refcount.h
regmap.h
Revert "regmap: allow to define reg_update_bits for no bus configuration"
2024-04-16 10:04:00 +00:00
regset.h
relay.h
remoteproc.h
reset-controller.h
reset.h
resource.h
resource_ext.h
restart_block.h
rfkill.h
rhashtable-types.h
rhashtable.h
ring_buffer.h
This is the 5.4.284 stable release
2024-09-12 10:37:37 +00:00
rio.h
rio_drv.h
rio_ids.h
rio_regs.h
rmap.h
Revert "mm: introduce __page_add_new_anon_rmap()"
2025-05-24 05:44:06 +00:00
rmi.h
rndis.h
rodata_test.h
root_dev.h
rpmsg.h
rq_stats.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
UPSTREAM: rcu-tasks: Add an RCU Tasks Trace to simplify protection of tracing hooks
2026-01-14 18:12:26 -08: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
BACKPORT: seccomp: release filter after task is fully dead
2026-05-07 10:17:17 -04:00
securebits.h
security.h
BACKPORT: bpf: Add lockdown check for probe_write_user helper
2026-02-01 20:44:42 -08: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
seqno-fence.h
serdev.h
serial.h
serial_8250.h
Revert "Revert "Revert "8250: add support for ASIX devices with a FIFO bug"""
2025-05-18 11:04:18 +03:00
serial_bcm63xx.h
serial_core.h
serial: core: fix kernel-doc for uart_port_unlock_irqrestore()
2024-05-02 16:18:37 +02:00
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
dmaengine: sh: setup_xref error handling
2025-12-03 12:45:11 +01:00
shm.h
shmem_fs.h
BACKPORT: FROMGIT: userfaultfd/shmem: combine shmem_{mcopy_atomic,mfill_zeropage}_pte
2025-05-18 08:08:42 +00:00
show_mem_notifier.h
shrinker.h
signal.h
signal_types.h
signalfd.h
siox.h
siphash.h
sirfsoc_dma.h
sizes.h
skb_array.h
skbuff.h
UPSTREAM: net: add and use skb_unclone_keeptruesize() helper
2026-05-07 17:24:10 +03:00
skmsg.h
BACKPORT: net: sk_msg: Simplify sk_psock initialization
2026-02-01 20:44:39 -08:00
slab.h
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
UPSTREAM: bpf, net: Rework cookie generator as per-cpu one
2026-01-14 18:12:39 -08:00
socket.h
sockptr.h
UPSTREAM: bpf: net: Change sk_getsockopt() to take the sockptr_t argument
2026-01-14 18:13:09 -08: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
stackleak: let stack_erasing_sysctl take a kernel pointer buffer
2026-02-01 20:38:37 -08:00
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_helpers.h
stringhash.h
stringify.h
sungem_phy.h
sunserialcore.h
sunxi-rsb.h
superhyway.h
suspend.h
svga.h
sw842.h
swab.h
swait.h
swap.h
Revert "mm: introduce __lru_cache_add_active_or_unevictable"
2025-05-24 05:44:06 +00:00
swap_cgroup.h
swap_slots.h
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
BACKPORT: epoll: wire up syscall epoll_pwait2
2025-12-22 07:42:50 +02:00
syscore_ops.h
sysctl.h
BACKPORT: sysctl: pass kernel pointers to ->proc_handler
2025-12-23 13:36:15 -08:00
sysfs.h
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
BACKPORT: tcp: bpf: Optionally store mac header in TCP_SAVE_SYN
2026-01-14 18:12:18 -08:00
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
timecounter.h
timekeeper_internal.h
timekeeping.h
timekeeping32.h
timer.h
BACKPORT: sysctl: pass kernel pointers to ->proc_handler
2025-12-23 13:36:15 -08:00
timerfd.h
timeriomem-rng.h
timerqueue.h
timex.h
tnum.h
BACKPORT: bpf: Verifier, do explicit ALU32 bounds tracking
2025-12-23 13:36:11 -08:00
topology.h
torture.h
toshiba.h
tpm.h
tpm_command.h
tpm_eventlog.h
trace.h
trace_clock.h
trace_events.h
Merge android11-5.4.289(4c8fb32) into msm-5.4
2025-03-26 11:56:22 +05:30
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
types: Complement the aligned types with signed 64-bit one
2025-06-04 14:32:27 +02:00
u64_stats_sync.h
u64_stats: fix u64_stats_init() for lockdep when used repeatedly in one file
2024-05-02 16:18:28 +02:00
uaccess.h
BACKPORT: maccess: rename probe_user_{read,write} to copy_{from,to}_user_nofault
2026-01-14 18:13:22 -08:00
ucb1400.h
ucs2_string.h
udp.h
UPSTREAM: udp: do not accept non-tunnel GSO skbs landing in a tunnel
2025-03-10 16:19:50 +00:00
uidgid.h
uio.h
uio_driver.h
umh.h
BACKPORT: umh: Separate the user mode driver and the user mode helper support
2026-01-14 18:12:14 -08:00
unicode.h
units.h
units: add the HZ macros
2024-02-23 08:24:47 +01:00
uprobes.h
usb.h
usb: Undo qcom damage
2026-04-30 21:08:27 +03:00
usb_bam.h
usb_usual.h
usbdevice_fs.h
user-return-notifier.h
user.h
user_namespace.h
userfaultfd_k.h
BACKPORT: FROMGIT: userfaultfd/shmem: modify shmem_mfill_atomic_pte to use install_pte()
2025-05-18 08:08:42 +00:00
usermode_driver.h
UPSTREAM: bpf: Fix umd memory leak in copy_process()
2026-01-14 18:12:50 -08:00
util_macros.h
util_macros.h: fix/rework find_closest() macros
2024-12-14 19:44:43 +01:00
uts.h
utsname.h
uuid.h
vbox_utils.h
verification.h
vermagic.h
vexpress.h
vfio.h
vfio: Introduce interface to flush virqfd inject workqueue
2024-04-13 12:51:34 +02:00
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_clk.h
virtio_config.h
UPSTREAM: virtio: Add get_shm_region method
2026-05-08 21:46:12 +02:00
virtio_console.h
virtio_net.h
virtio_regulator.h
virtio_ring.h
virtio_spmi.h
virtio_vsock.h
visorbus.h
vlynq.h
vm_event_item.h
Revert "mm: add speculative page fault vmstats"
2025-05-24 05:44:04 +00:00
vm_sockets.h
vmacache.h
vmalloc.h
BACKPORT: mm: remove the pgprot argument to __vmalloc
2026-01-14 17:48:09 -08:00
vme.h
vmpressure.h
vmstat.h
BACKPORT: sysctl: pass kernel pointers to ->proc_handler
2025-12-23 13:36:15 -08: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
wait.h
UPSTREAM: sched/core: Add function to sample state of locked-down task
2026-01-14 18:13:18 -08:00
wait_bit.h
wakeup_reason.h
watchdog.h
win_minmax.h
wireless.h
wkup_m3_ipc.h
wl12xx.h
wm97xx.h
wmi.h
workqueue.h
writeback.h
BACKPORT: sysctl: pass kernel pointers to ->proc_handler
2025-12-23 13:36:15 -08:00
ww_mutex.h
xarray.h
xattr.h
UPSTREAM: kernfs: Add removed_size out param for simple_xattr_set
2026-01-14 18:13:12 -08:00
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