summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sig.c
AgeCommit message (Expand)Author
3 daysNo need to call unsleep() if p_wchan is NULL.Claudio Jeker
7 daysAdjust deep logic in cursig() to handle sig_stop specially.Claudio Jeker
7 daysRemove unreachable check for orphaned process groups in cursig.Claudio Jeker
2024-11-06Factor out the ptrace trap into proc_trap() and simplify the signalClaudio Jeker
2024-11-05Unlock ptsignal by using the ps_mtx instead of KERNEL_LOCK to ensureClaudio Jeker
2024-11-05remove VATTR_NULL() define, directly call vattr_null()Jonathan Gray
2024-11-04Properly handle stop signals in cursig if deep.Claudio Jeker
2024-10-22Protect the ps_pgrp pointer by either the KERNEL_LOCK or the ps_mtx.Claudio Jeker
2024-10-17Shortcut cursig when called during sleep setup.Claudio Jeker
2024-10-15Indicate that a process has stopped by setting PS_STOPPED flagClaudio Jeker
2024-10-09Clear ps_xsig when continuing after a PS_TRACED stop.Claudio Jeker
2024-10-09Convert prsignal() into a real functionClaudio Jeker
2024-10-01Adjust ptrace interface to properly suport single threaded continue.Claudio Jeker
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