mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 22:25:03 +00:00
5147da902e
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 ... |
||
---|---|---|
.. | ||
basic_types.h | ||
cmd_osdep.h | ||
drv_types.h | ||
drv_types_sdio.h | ||
Hal8192CPhyReg.h | ||
hal_btcoex.h | ||
hal_com.h | ||
hal_com_h2c.h | ||
hal_com_phycfg.h | ||
hal_com_reg.h | ||
hal_data.h | ||
hal_intf.h | ||
hal_pg.h | ||
hal_phy.h | ||
hal_phy_cfg.h | ||
hal_phy_reg.h | ||
hal_phy_reg_8723b.h | ||
hal_pwr_seq.h | ||
hal_sdio.h | ||
HalPwrSeqCmd.h | ||
HalVerDef.h | ||
ieee80211.h | ||
ioctl_cfg80211.h | ||
mlme_osdep.h | ||
osdep_intf.h | ||
osdep_service.h | ||
osdep_service_linux.h | ||
recv_osdep.h | ||
rtl8192c_recv.h | ||
rtl8723b_cmd.h | ||
rtl8723b_dm.h | ||
rtl8723b_hal.h | ||
rtl8723b_recv.h | ||
rtl8723b_rf.h | ||
rtl8723b_spec.h | ||
rtl8723b_xmit.h | ||
rtw_ap.h | ||
rtw_btcoex.h | ||
rtw_byteorder.h | ||
rtw_cmd.h | ||
rtw_debug.h | ||
rtw_eeprom.h | ||
rtw_efuse.h | ||
rtw_event.h | ||
rtw_ht.h | ||
rtw_io.h | ||
rtw_ioctl.h | ||
rtw_ioctl_set.h | ||
rtw_mlme.h | ||
rtw_mlme_ext.h | ||
rtw_mp.h | ||
rtw_odm.h | ||
rtw_pwrctrl.h | ||
rtw_qos.h | ||
rtw_recv.h | ||
rtw_rf.h | ||
rtw_security.h | ||
rtw_version.h | ||
rtw_wifi_regd.h | ||
rtw_xmit.h | ||
sdio_hal.h | ||
sdio_ops.h | ||
sdio_ops_linux.h | ||
sdio_osintf.h | ||
sta_info.h | ||
wifi.h | ||
wlan_bssdef.h | ||
xmit_osdep.h |