linux/tools/testing/selftests
Linus Torvalds 92329d578d A single fix for the futex selftest code to make 32-bit user space work
correctly on 64-bit kernels. sys_futex_wait() expects a struct
 __kernel_timespec for the timeout, but the selftest uses struct timespec,
 which is the original 32-bit non 2038 compliant variant. Fix it up by
 converting the callsite supplied timespec to a __kernel_timespec and hand
 that into the syscall.
 -----BEGIN PGP SIGNATURE-----
 
 iQJHBAABCgAxFiEEQp8+kY+LLUocC4bMphj1TA10mKEFAmh81ykTHHRnbHhAbGlu
 dXRyb25peC5kZQAKCRCmGPVMDXSYoaf3D/4rEvjK6jo6/YFXQF0mfArk1JgK2hje
 zNmF6xyvAFKmaVQmT35DB8vyeWchvIWlwxMYkAKDZfDlZfEU8mxY4HbHCyKaBlHj
 52vwpvGxHPWCdiIgzee+y7asZ7OEUHXktxsbptsZ0KsvU+P+6OWZIKT3eySKmuhA
 FSIiiLD6SsU2UMvfIFuX7vMiI3IuhBoGlzXveJLQ3HBg90EfyzQY3ZS1yftjikDb
 d15TO2sWWKlHITGSWllS28JUlw5fKXKcrKwSVo5I0vETW/oD+YTKP8K1apir2mZ2
 sfBlFQAWeDhcn/8r+K/6XCaGnrqguQvJJNu9K6e6T5p932hOtpou4dE297wLw2cn
 B08F+THgBgv9iO1gp5r97jR91aEbp6bf1K+5NljLXAY3Xk2yU1uyjJFIojdwE9Fq
 7H/BBRceP7aaiEJJoIPeLCItx9uvunlxdd2R9b2E5XzoSYiO/iQCyAGyBpu5L1dm
 TvX4cTrlVs4orNnujDbqH2GkB3locXLtb9nZBFyj+RwCgg+gwTSSUrvxjDelE7LU
 /niUMwY4qZwlME6LO1gNOcG0yQYhdh0uYqXBzCfE+44IvihEjZIsgijNPCyObsTU
 WcbQBRphNgj6cN3ck9whz6XWerG+Oga4SpDJc7OSOL7l4uX294Rf3tm0YC0GHxA3
 mDcs+p5ZStMnTA==
 =zIcB
 -----END PGP SIGNATURE-----

Merge tag 'locking-urgent-2025-07-20' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull locking fix from Thomas Gleixner:
 "A single fix for the futex selftest code to make 32-bit user space
  work correctly on 64-bit kernels.

  sys_futex_wait() expects a struct __kernel_timespec for the timeout,
  but the selftest uses struct timespec, which is the original 32-bit
  non 2038 compliant variant.

  Fix it up by converting the callsite supplied timespec to a
  __kernel_timespec and hand that into the syscall"

* tag 'locking-urgent-2025-07-20' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  selftests/futex: Convert 32-bit timespec to 64-bit version for 32-bit compatibility mode
2025-07-20 11:22:05 -07:00
..
acct
alsa
amd-pstate
arm64
bpf selftests/bpf: Stress test attaching a BPF prog to another BPF prog 2025-07-16 18:32:31 -07:00
breakpoints
cachestat
capabilities
cgroup Generic: 2025-06-02 12:24:58 -07:00
clone3
connector
core
coredump selftests/coredump: Fix "socket_detect_userspace_client" test failure 2025-06-23 12:41:13 +02:00
cpu-hotplug
cpufreq
damon selftests/damon/_damon_sysfs: skip testcases if CONFIG_DAMON_SYSFS is disabled 2025-05-31 22:46:15 -07:00
devices
dma
dmabuf-heaps
drivers netlink: specs: ethtool: replace underscores with dashes in names 2025-06-25 15:36:27 -07:00
dt
efivarfs
exec
fchmodat2
filelock
filesystems - The 3 patch series "hung_task: extend blocking task stacktrace dump to 2025-05-31 19:12:53 -07:00
firmware
fpu
ftrace
futex selftests/futex: Convert 32-bit timespec to 64-bit version for 32-bit compatibility mode 2025-07-06 11:15:29 +02:00
gpio
hid selftests/hid: add a test case for the recent syzbot underflow 2025-07-13 09:53:28 +02:00
ia64
intel_pstate
iommu iommufd/selftest: Fix build warnings due to uninitialized mfd 2025-06-24 15:45:13 -03:00
ipc
ir
kcmp
kexec
kmod
kselftest
kselftest_harness selftests: harness: Add kselftest harness selftest 2025-05-21 15:32:27 +02:00
kvm KVM: selftests: Add back the missing check of MONITOR/MWAIT availability 2025-06-24 12:58:19 -07:00
landlock
lib
livepatch
lkdtm
locking
lsm
media_tests
membarrier
memfd
memory-hotplug
mincore
mm selftests/mm: fix validate_addr() helper 2025-06-25 15:55:04 -07:00
module
mount
mount_setattr selftests/mount_setattr: adapt detached mount propagation test 2025-06-07 00:41:29 -04:00
move_mount_set_group
mqueue
mseal_system_mappings
nci selftests: nci: Fix "Electrnoics" to "Electronics" 2025-05-20 18:13:43 -07:00
net selftests: Add test cases for vlan_filter modification during runtime 2025-07-17 07:44:26 -07:00
nolibc selftests/nolibc: drop include guards around standard headers 2025-05-21 15:32:27 +02:00
ntb
openat2
pci_endpoint
pcie_bwctrl
perf_events
pid_namespace
pidfd vfs-6.16-rc1.selftests 2025-05-26 11:32:28 -07:00
power_supply
powerpc
prctl
proc
pstore
ptp
ptrace
rcutorture
resctrl
ring-buffer
riscv
rlimits
rseq
rtc
rust
safesetid
sched
sched_ext selftests/sched_ext: Fix exit selftest hang on UP 2025-07-03 06:44:13 -10:00
seccomp selftests: seccomp: Fix "performace" to "performance" 2025-05-20 13:16:39 -07:00
sgx
signal
size
sparc64
splice
static_keys
sync
syscall_user_dispatch
sysctl
tc-testing selftests/tc-testing: Test htb_dequeue_tree with deactivation and row emptying 2025-07-17 07:47:56 -07:00
tdx
thermal/intel
timens
timers
tmpfs
tpm2
tty
turbostat
ublk selftests: ublk: don't take same backing file for more than one ublk devices 2025-06-24 20:45:31 -06:00
uevent
user_events
vDSO RISC-V: vDSO: Wire up getrandom() vDSO implementation 2025-06-05 14:03:09 -07:00
watchdog
wireguard wireguard: selftests: specify -std=gnu17 for bash 2025-05-27 09:06:19 +02:00
x86 selftests/x86: Add a test to detect infinite SIGTRAP handler loop 2025-06-09 08:52:06 -07:00
zram
.gitignore
Makefile selftests: net: build net/lib dependency in all target 2025-06-03 12:21:04 +02:00
gen_kselftest_tar.sh
kselftest.h
kselftest_deps.sh
kselftest_harness.h selftests: harness: Stop using setjmp()/longjmp() 2025-05-21 15:32:37 +02:00
kselftest_install.sh
kselftest_module.h
lib.mk
run_kselftest.sh