summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sig.c
AgeCommit message (Expand)Author
2024-08-10spelling; ok claudio@Jonathan Gray
2024-08-06Stop using KERNEL_LOCK to protect the per process kqueue listClaudio Jeker
2024-07-29Move the signal related kqueue filters to kern_event.c.Claudio Jeker
2024-07-29Replace per thread P_CONTINUED with per process PS_CONTINUED flagClaudio Jeker
2024-07-24KASSERT that the ps_single proc has P_SUSPSINGLE cleared.Claudio Jeker
2024-07-22Rename PS_STOPPED to PS_STOPPING. I want to use PS_STOPPED to indicateClaudio Jeker
2024-07-10Kill the runfast and run label and inline those bits. No functional change.Claudio Jeker
2024-07-09Reshuffle the switch cases in ptsignal and single_thread_set to beClaudio Jeker
2024-06-03Remove the now unsued s argument to SCHED_LOCK and SCHED_UNLOCK.Claudio Jeker
2024-05-22In the big p_stat switch in ptsignal do not call return but insteadClaudio Jeker
2024-05-20Rework interaction between sleep API and exit1() and start unlocking ps_threadsClaudio Jeker
2024-05-08Rework how action SIG_HOLD is handled in ptsignal.Claudio Jeker
2024-05-07In Rev 1.296 the update of the siglist was moved to the end of ptsignal().Claudio Jeker
2024-04-18If a proc has P_WEXIT set do not stop it, let it exit since it is alreadyClaudio Jeker
2024-04-10Unlock dosigsuspend() and with that some aspects of ppoll and pselectClaudio Jeker
2024-03-30Prevent a recursion inside wakeup(9) when scheduler tracepoints are enabled.Martin Pieuchot
2024-02-25New accounting flag ABTCFI to indicate signal SIGILL + code ILL_BTCFITheo de Raadt
2024-01-17Fix core file writing when a file map into memory has later been truncatedKurt Miller
2023-10-06In sys___thrsigdivert() switch tsleep_nsec() to use the nowake identClaudio Jeker
2023-09-29Extend single_thread_set() mode with additional flag attributes.Claudio Jeker
2023-09-19Before coredump or in pledge_fail use SINGLE_UNWIND to stop all threads.Claudio Jeker
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