android_kernel_motorola_sm6375/drivers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Adrian Reber ad10207c9d UPSTREAM: tty: allow TIOCSLCKTRMIOS with CAP_CHECKPOINT_RESTORE
[ Upstream commit e0f25b8992345aa5f113da2815f5add98738c611 ]

The capability CAP_CHECKPOINT_RESTORE was introduced to allow non-root
users to checkpoint and restore processes as non-root with CRIU.

This change extends CAP_CHECKPOINT_RESTORE to enable the CRIU option
'--shell-job' as non-root. CRIU's man-page describes the '--shell-job'
option like this:

  Allow one to dump shell jobs. This implies the restored task will
  inherit session and process group ID from the criu itself. This option
  also allows to migrate a single external tty connection, to migrate
  applications like top.

TIOCSLCKTRMIOS can only be done if the process has CAP_SYS_ADMIN and
this change extends it to CAP_SYS_ADMIN or CAP_CHECKPOINT_RESTORE.

With this change it is possible to checkpoint and restore processes
which have a tty connection as non-root if CAP_CHECKPOINT_RESTORE is
set.

Acked-by: Christian Brauner <brauner@kernel.org>
Change-Id: I079e010f7ab7c1dc2e829bfa4023405efd5aada8
Signed-off-by: Adrian Reber <areber@redhat.com>
Acked-by: Andrei Vagin <avagin@gmail.com>
Link: https://lore.kernel.org/r/20231208143656.1019-1-areber@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: ralph950412 <ralph950412@gmail.com>
2026-07-09 09:06:39 -04:00
..
accessibility
acpi This is the 5.4.302 stable release 2025-12-11 09:41:30 +00:00
amba
android BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
ata ata: libata-scsi: Fix system suspend for a security locked drive 2025-12-03 12:45:21 +01:00
atm
auxdisplay
base Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
bcma
block Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
bluetooth Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
bus
cdrom cdrom: fix an incorrect __user annotation on cdrom_sysctl_info 2026-02-01 20:36:52 -08:00
char UPSTREAM: random: split initialization into early step and later step 2026-05-07 17:24:10 +03:00
clk Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
clocksource Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
connector
counter
cpufreq Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
cpuidle Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
crypto BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
dax UPSTREAM: dax, pmem: Add a dax operation zero_page_range 2026-05-08 21:46:12 +02:00
dca
devfreq devfreq: Fix suspend callback for non-zero min_freq 2026-05-25 19:48:35 +00:00
dio BACKPORT: maccess: rename probe_kernel_{read,write} to copy_{from,to}_kernel_nofault 2026-01-14 18:13:21 -08:00
dma Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
dma-buf BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
edac Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
eisa
extcon Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
firewire
firmware Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
fpga
fsi
gnss
gpio
gpu Revert "msm: kgsl: Call dma_buf_unmap_attachment() early" 2026-05-29 17:59:03 +00:00
greybus
hid BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
hsi
hv
hwmon Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
hwspinlock
hwtracing drivers: hwtracing: coresight: Fix sometimes-uninitialized errors 2026-06-24 21:27:17 -04:00
i2c Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
i3c Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
ide
idle
iio BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
infiniband BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
input Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
interconnect
iommu
ipack
irqchip Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
isdn isdn: mISDN: hfcsusb: fix memory leak in hfcsusb_probe() 2025-12-03 12:45:19 +01:00
leds
lightnvm BACKPORT: mm: remove the pgprot argument to __vmalloc 2026-01-14 17:48:09 -08:00
macintosh BACKPORT: sysctl: pass kernel pointers to ->proc_handler 2025-12-23 13:36:15 -08:00
mailbox Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
mcb
md Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
media msm: vidc/cvp: fix callback type for msm_vidc/cvp_callback 2026-05-17 00:17:24 +05:00
memory memory: samsung: exynos-srom: Fix of_iomap leak in exynos_srom_probe 2025-10-29 14:00:00 +01:00
memstick memstick: Add timeout to prevent indefinite waiting 2025-12-03 12:45:06 +01:00
message
mfd Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
misc BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
mmc Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
mtd BACKPORT: bdi: initialize ->ra_pages and ->io_pages in bdi_init 2026-05-08 21:46:13 +02:00
mux
net Revert "wifi: cfg80211: Increase akm_suites array size in" 2026-05-05 20:02:19 +03:00
nfc
ntb
nubus
nvdimm BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
nvme BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
nvmem
of
opp
oprofile UPSTREAM: module: Fix up module_notifier return values 2026-01-14 18:12:53 -08:00
parisc
parport BACKPORT: sysctl: pass kernel pointers to ->proc_handler 2025-12-23 13:36:15 -08:00
pci BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
pcmcia
perf Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
phy Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
pinctrl Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
platform BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
pnp
power Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
powercap
pps
ps3
ptp
pwm Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
rapidio
ras
regulator Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
remoteproc Merge branch 'android11-5.4-lts' of https://android.googlesource.com/kernel/common into android13-5.4-lahaina 2025-12-11 01:41:51 -08:00
reset
rpmsg BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
rtc Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
s390 s390/ctcm: Fix double-kfree 2025-12-03 12:45:20 +01:00
sbus BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
scsi BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
sfi
sh
siox
slimbus
soc Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
soundwire
spi Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
spmi
ssb
staging drivers: staging: qca-wifi-host-cmn: Fix implicit-enum-enum-cast errors 2026-06-24 21:58:50 -04:00
target This is the 5.4.302 stable release 2025-12-11 09:41:30 +00:00
tc
tee BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
thermal Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
thunderbolt
tty UPSTREAM: tty: allow TIOCSLCKTRMIOS with CAP_CHECKPOINT_RESTORE 2026-07-09 09:06:39 -04:00
uio Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
usb BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
vfio
vhost
video Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
virt BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
virtio
visorbus
vlynq
vme
w1
watchdog
xen xen/events: Update virq_to_irq on migration 2025-10-29 13:59:56 +01:00
zorro
Kconfig
Makefile
OWNERS