linux/drivers/staging
Linus Torvalds 5147da902e Merge branch 'exit-cleanups-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
Pull exit cleanups from Eric Biederman:
 "While looking at some issues related to the exit path in the kernel I
  found several instances where the code is not using the existing
  abstractions properly.

  This set of changes introduces force_fatal_sig a way of sending a
  signal and not allowing it to be caught, and corrects the misuse of
  the existing abstractions that I found.

  A lot of the misuse of the existing abstractions are silly things such
  as doing something after calling a no return function, rolling BUG by
  hand, doing more work than necessary to terminate a kernel thread, or
  calling do_exit(SIGKILL) instead of calling force_sig(SIGKILL).

  In the review a deficiency in force_fatal_sig and force_sig_seccomp
  where ptrace or sigaction could prevent the delivery of the signal was
  found. I have added a change that adds SA_IMMUTABLE to change that
  makes it impossible to interrupt the delivery of those signals, and
  allows backporting to fix force_sig_seccomp

  And Arnd found an issue where a function passed to kthread_run had the
  wrong prototype, and after my cleanup was failing to build."

* 'exit-cleanups-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace: (23 commits)
  soc: ti: fix wkup_m3_rproc_boot_thread return type
  signal: Add SA_IMMUTABLE to ensure forced siganls do not get changed
  signal: Replace force_sigsegv(SIGSEGV) with force_fatal_sig(SIGSEGV)
  exit/r8188eu: Replace the macro thread_exit with a simple return 0
  exit/rtl8712: Replace the macro thread_exit with a simple return 0
  exit/rtl8723bs: Replace the macro thread_exit with a simple return 0
  signal/x86: In emulate_vsyscall force a signal instead of calling do_exit
  signal/sparc32: In setup_rt_frame and setup_fram use force_fatal_sig
  signal/sparc32: Exit with a fatal signal when try_to_clear_window_buffer fails
  exit/syscall_user_dispatch: Send ordinary signals on failure
  signal: Implement force_fatal_sig
  exit/kthread: Have kernel threads return instead of calling do_exit
  signal/s390: Use force_sigsegv in default_trap_handler
  signal/vm86_32: Properly send SIGSEGV when the vm86 state cannot be saved.
  signal/vm86_32: Replace open coded BUG_ON with an actual BUG_ON
  signal/sparc: In setup_tsb_params convert open coded BUG into BUG
  signal/powerpc: On swapcontext failure force SIGSEGV
  signal/sh: Use force_sig(SIGKILL) instead of do_group_exit(SIGKILL)
  signal/mips: Update (_save|_restore)_fp_context to fail with -EFAULT
  signal/sparc32: Remove unreachable do_exit in do_sparc_fault
  ...
2021-11-10 16:15:54 -08:00
..
android
axis-fifo staging: axis-fifo: convert to use miscdevice 2021-09-13 08:49:53 +02:00
board
clocking-wizard clk: staging: correct reference to config IOMEM to config HAS_IOMEM 2021-08-17 20:03:00 +02:00
emxx_udc
fbtft staging: fbtft: Make fbtft_remove_common() return void 2021-10-13 14:30:38 +02:00
fieldbus staging: fieldbus: anybus: reframe comment to avoid warning 2021-10-30 11:12:17 +02:00
fwserial tty: drop put_tty_driver 2021-07-27 12:17:21 +02:00
gdm724x staging: use eth_hw_addr_set() in orphan drivers 2021-10-20 19:33:59 +02:00
greybus staging: greybus: uart: fix tty use after free 2021-09-14 09:18:18 +02:00
gs_fpgaboot
iio staging: iio: ad9832: convert probe to device-managed 2021-10-17 11:05:54 +01:00
ks7010 staging: use eth_hw_addr_set() for dev->addr_len cases 2021-10-20 19:33:58 +02:00
media Char/Misc driver update for 5.16-rc1 2021-11-04 08:21:47 -07:00
most staging: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-20 19:33:58 +02:00
mt7621-dma staging/mt7621-dma: Format lines in "hsdma-mt7621.c" ending with an open parenthesis 2021-09-13 08:49:54 +02:00
mt7621-dts staging: mt7621-dts: add missing SPDX license to files 2021-10-25 12:06:26 +02:00
netlogic
nvec
octeon Staging driver update for 5.16-rc1 2021-11-04 07:56:22 -07:00
octeon-usb
olpc_dcon
pi433 staging: pi433: goto abort when setting failed in tx_thread 2021-09-27 17:30:27 +02:00
qlge Staging driver update for 5.16-rc1 2021-11-04 07:56:22 -07:00
r8188eu Merge branch 'exit-cleanups-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2021-11-10 16:15:54 -08:00
ralink-gdma
rtl8192e staging: rtl: use eth_hw_addr_set() 2021-10-20 19:33:59 +02:00
rtl8192u staging: rtl8192u: fix control-message timeouts 2021-10-26 18:44:38 +02:00
rtl8712 Merge branch 'exit-cleanups-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2021-11-10 16:15:54 -08:00
rtl8723bs Merge branch 'exit-cleanups-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2021-11-10 16:15:54 -08:00
rts5208 SCSI misc on 20211105 2021-11-05 08:42:02 -07:00
sm750fb staging: sm750fb: Rename vScreen to v_screen in lynxfb_crtc 2021-07-28 20:17:26 +02:00
unisys SCSI misc on 20211105 2021-11-05 08:42:02 -07:00
vc04_services staging: vchiq_core: get rid of typedef 2021-10-30 11:12:40 +02:00
vme
vt6655 staging: vt6655: Rename dwAL7230InitTable array 2021-10-26 18:45:09 +02:00
vt6656 staging: vt6656: Remove filenames in files 2021-08-28 08:33:33 +02:00
wfx staging: wfx: sta: Fix 'else' coding style warning 2021-09-17 16:23:42 +02:00
wlan-ng staging: use eth_hw_addr_set() in orphan drivers 2021-10-20 19:33:59 +02:00
Kconfig PCI: mt7621: Add MediaTek MT7621 PCIe host controller driver 2021-10-21 10:59:18 -05:00
Makefile PCI: mt7621: Add MediaTek MT7621 PCIe host controller driver 2021-10-21 10:59:18 -05:00