summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sig.c
AgeCommit message (Expand)Author
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
2020-12-04Prevent a TOCTOU race in single_thread_set() by extending the scope of the lock.Martin Pieuchot
2020-12-02Revert previous extension of the SCHED_LOCK(), the state isn't passed down.Martin Pieuchot
2020-12-02Prevent a TOCTOU race in single_thread_set() by extending the scope of the lock.Martin Pieuchot
2020-11-08In case of failure, call sigexit() from trapsignal instead of sensig().Martin Pieuchot
2020-09-16Move duplicated code to send an uncatchable SIGABRT into a function.Martin Pieuchot
2020-09-13Unbreak tree. Instead of passing struct process to siginit() just pass theClaudio Jeker
2020-09-09Introduce a helper to check if a signal is ignored or masked by a thread.Martin Pieuchot
2020-08-26Fix a race in single-thread mode switchingVisa Hankala
2020-08-19Push KERNEL_LOCK/UNLOCK() dance inside trapsignal().Martin Pieuchot
2020-06-15Raise SPL when modifying ps_klist to prevent a race with interrupts.Visa Hankala
2020-06-14Remove misleading XXX about locking of ps_klist. All of the kqueueVisa Hankala
2020-04-07Abstract the head of knote lists. This allows extending the lists,Visa Hankala
2020-03-20Use atomic operations to update ps_singlecount. This makesClaudio Jeker
2020-03-18Restart child process scan in dowait4() if single_thread_wait() sleeps.Visa Hankala
2020-03-13Rename "sigacts" flag field to avoid conflict with the "process" one.Martin Pieuchot
2020-03-11Move the sigprop definition and the other bits under SIGPROP intoClaudio Jeker
2020-02-21Remove sigacts structure sharing. The only process that used sharing wasClaudio Jeker
2020-02-21Adjust a comment, no functional changeClaudio Jeker
2020-02-20Replace field f_isfd with field f_flags in struct filterops to allowVisa Hankala
2020-02-19Remove the indirection via timeout for proc_stop_sweep(). Using a softClaudio Jeker
2020-02-15Consistently perform atomic writes to the ps_flags field of structanton
2020-02-14Push the KERNEL_LOCK() insidge pgsigio() and selwakeup().Martin Pieuchot
2020-02-01Back out previous. Nothing wrong with the diff per se but I should haveanton
2020-02-01Grab the kernel lock in pgsigio() as it's strictly needed whileanton
2020-01-30Split `p_priority' into `p_runpri' and `p_slppri'.Martin Pieuchot
2020-01-16Introduce wakeup_proc() a function to un-SSTOP/SSLEEP a thread.Martin Pieuchot
2020-01-14Introduce TIMESPEC_TO_NSEC() and use it to convert userland facingMartin Pieuchot
2020-01-08Unify handling of ioctls FIOSETOWN/SIOCSPGRP/TIOCSPGRP andVisa Hankala
2020-01-03Retire csignal() the last users were converted to use pgsigio(9) instead.Claudio Jeker
2019-12-31Use C99 designated initializers with struct filterops. In addition,Visa Hankala
2019-12-19Convert infinite sleeps to {m,t}sleep_nsec(9).Martin Pieuchot
2019-12-11Replace p_xstat with ps_xexit and ps_xsigPhilip Guenther