summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sig.c
AgeCommit message (Expand)Author
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
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