summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sig.c
AgeCommit message (Expand)Author
2023-09-13Revert commitid: yfAefyNWibUyjkU2, ESyyH5EKxtrXGkS6 and itscfpFvJLOj8mHB;Claudio Jeker
2023-09-09Fix SCHED_LOCK() leak in single_thread_set()Claudio Jeker
2023-09-08Change how ps_threads and p_thr_link are locked away from using SCHED_LOCK.Claudio Jeker
2023-09-04Protect ps_single, ps_singlecnt and ps_threadcnt by the process mutex.Claudio Jeker
2023-08-16Move SCHED_LOCK after sleep_signal_check.Claudio Jeker
2023-08-13Fix P_WSLEEP handling when continuing SSTOP-ed processesClaudio Jeker
2023-08-11Move the single_thread_check() to the start of userret().Claudio Jeker
2023-07-14struct sleep_state is no longer used, remove it.Claudio Jeker
2023-07-11Rework sleep_setup()/sleep_finish() to no longer hold the scheduler lockClaudio Jeker
2023-07-10Allow unveiled programs to dump core (in the default, classic, into . way)Theo de Raadt
2023-06-28First step at removing struct sleep_state.Claudio Jeker
2023-04-03Reduce indent in single_thread_check_locked() by inverting initialClaudio Jeker
2023-02-10Adjust knote(9) APIVisa Hankala
2023-01-31On systems without xonly mmu hardware-enforcement, we can still mitigateTheo de Raadt
2023-01-02Add tfind_user(), for getting a proc* given a user-space TID andPhilip Guenther
2022-12-29Add ktrace struct tracepoints for siginfo_t to the kernel side ofPhilip Guenther
2022-10-16Rather than marking MAP_STACK on entries for sigaltstack() [2 days ago],Theo de Raadt
2022-10-15During the MAP_STACK introduction in 2018, sigaltstack() became aTheo de Raadt
2022-08-14remove unneeded includes in sys/kernJonathan Gray
2022-06-29Move the deep check back into the loop. There are ways that even thoughClaudio Jeker
2022-06-28Cleanup the sleep loop in single_thread_check_locked(). The deep checksClaudio Jeker
2022-05-13Use the process ps_mtx to protect the process sigacts structure.Claudio Jeker
2022-03-11Revert part of rev 1.293. Using cursig() to deliver masked signalsClaudio Jeker
2022-02-14Introduce a signal context that is used to pass signal related informationClaudio Jeker
2022-02-06Simplify cursig() a bit and make sure that signals are always sent toClaudio Jeker
2022-01-02immediatly -> immediatelyTheo Buehler
2021-12-07Delete the last emulation callbacks: we're Just ELF, so declarePhilip Guenther
2021-11-24Refactor postsig_done(). Pass the catchmask and signal reset flag to theClaudio Jeker
2021-11-24Minor code cleanup. Move a comment to the right place, move a functionClaudio Jeker
2021-11-12sigsuspend(2): sleep on &nowake channelScott Soule Cheloha
2021-10-24use NULL not 0 for pointer values in kernJonathan Gray
2021-10-23Be consistend and add missing spaces around some of the NOTREACHED comments.Claudio Jeker
2021-10-06Change sendsig() interface so that the MD code does not need to accessClaudio Jeker
2021-10-04Simplify sys___thrsigdivert a bit. cursig() always moves the pending signalClaudio Jeker
2021-09-28Fix timeout behaviour bug introduced in 1.241.Claudio Jeker
2021-07-14After VFS shutdown, init(8) cannot map a missing page that containsAlexander Bluhm
2021-05-10Revert previous, it introduced a regression with breakpoints in gdb.Martin Pieuchot
2021-05-06Refactor routines to stop/unstop processes and save the corresponding signal.Martin Pieuchot
2021-03-21Use uppercases for defines.Martin Pieuchot
2021-03-12Kill SINGLE_PTRACE and use SINGLE_SUSPEND which has almost the same semanticMartin Pieuchot
2021-03-08Revert commitid: AZrsCSWEYDm7XWuv;Claudio Jeker
2021-03-08Move a KERNEL_ASSERT_LOCKED() from single_thread_clear() to cursig().Martin Pieuchot
2021-03-08Kill SINGLE_PTRACE and use SINGLE_SUSPEND which has almost the same semantic.Martin Pieuchot
2021-03-04Merge issignal() and CURSIG() in preparation for turning it mp-safe.Martin Pieuchot
2021-02-15Move single_thread_set() out of KERNEL_LOCK().Martin Pieuchot
2021-02-08Revert the convertion of per-process thread into a SMR_TAILQ.Martin Pieuchot
2021-02-08Simplify sleep_setup API to two operations in preparation for splittingMartin Pieuchot
2020-12-25Refactor klist insertion and removalVisa Hankala
2020-12-23sigsuspend(2): change wmesg from "pause" to "sigsusp"cheloha
2020-12-07Convert the per-process thread list into a SMR_TAILQ.Martin Pieuchot