summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sig.c
AgeCommit message (Expand)Author
2015-11-10Split the intra-thread functionality from kill(2) into its own syscallPhilip Guenther
2015-11-02move the pledgenote annotation from `struct proc' to `struct nameidata'Sebastien Marie
2015-11-01refactor pledge_*_check and pledge_fail functionsSebastien Marie
2015-10-25Fold "malloc" into "stdio" and -- recognizing that no program so far hasTheo de Raadt
2015-10-10pid 0 also implies self, so allow that for the pledge case. Found inTheo de Raadt
2015-10-09Allow kill(self, sig) in pledge SELF also. the stack protector, abort(),Theo de Raadt
2015-10-09Rename tame() to pledge(). This fairly interface has evolved to be moreTheo de Raadt
2015-07-27Rather than disabling tame to coredump, leave it enabled but flag thatTheo de Raadt
2015-07-20Fix annoying console spew when we can't write the core file. use log instead.Bob Beck
2015-07-19tame(2) is a subsystem which restricts programs into a "reduced featureTheo de Raadt
2015-05-05emul_native is only used for kernel threads which can't dump core, soPhilip Guenther
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-09make sigprocmask(2) not take the kernel lockMartin Pelikan
2014-12-19start retiring the nointr allocator. specify PR_WAITOK as a flag as aTed Unangst
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.Ted Unangst
2014-11-16Rework the __thrsigdivert (aka sigwait()) handling: instead of interferingPhilip Guenther
2014-08-10Write the core file of a non-suid process into the current directoryAlexander Bluhm
2014-07-13Introduce PS_NOBROADCASTKILL a process flag that excludes processes fromClaudio Jeker
2014-07-13KERNEL_ASSERT_LOCKED(9): Assertion for kernel lock (Rev. 3)Masao Uebayashi
2014-07-12Refactor out dosigsuspend() functionMatthew Dempsky
2014-07-11It's init as a process that's special, not init's original thread.Philip Guenther
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
2014-07-04Track whether a process is a zombie or not yet fully built via flagsPhilip Guenther
2014-06-21If the kernel generates a deadly trap signal (SEGV, BUS, etc) forPhilip Guenther
2014-05-04Add PS_SYSTEM, the process-level mirror of the thread-level P_SYSTEM,Philip Guenther
2014-05-04When kern.nosuidcoredump=3, act like =2 but try to dump cores intoTheo de Raadt
2014-04-18Have each thread keeps its own (counted!) reference to the process's ucredsPhilip Guenther
2014-03-30Eliminates struct pcred by moving the real and saved ugids intoPhilip Guenther
2014-03-26Simply cansignal(), passing it processes instead of procs andPhilip Guenther
2014-03-26Move p_emul and p_sigcode from proc to process.Philip Guenther
2014-03-24The kernel isn't involved in times(3); <sys/times.h> should never bePhilip Guenther
2014-03-22Move p_sigacts from struct proc to struct process.Philip Guenther
2014-02-09Fix the lock order reversal problem in the code that stops tracedMark Kettenis
2014-01-21bzero -> memsetTed Unangst
2014-01-20Threads can't be zombies, only processes, so change zombproc to zombprocess,Philip Guenther
2013-10-08Fix delivery of SIGPROF and SIGVTALRM to threaded processes by havingPhilip Guenther
2013-10-08If a thread sends a signal to its own process, then have that threadPhilip Guenther
2013-10-06Tweak commentPhilip Guenther
2013-06-01some small style changes that are distracting me from seeing a real bugTed Unangst
2013-04-29Extend P_SIGSUSPEND handling in userret() to properly restore theMatthew Dempsky
2013-04-06i missed a file, crap. found by deraadtTed Unangst
2013-03-28do not include machine/cpu.h from a .c file; it is the responsibility ofTheo de Raadt
2013-02-08Insufficient levels of hops in the local brew led to Theo and I muckingPhilip Guenther
2013-01-15Allow SIGKILL to terminate coredumping processes. Semantics decidedTheo de Raadt
2013-01-15Slice & dice coredump write requests into MAXPHYS blocks, andTheo de Raadt
2012-12-02Determine whether we're currently on the alternative signal stackPhilip Guenthe
2012-10-17If a thread calls __threxit() or _exit() immediately after anotherPhilip Guenthe
2012-07-11exit1(EXIT_THREAD) needs to call single_thread_check() so that itPhilip Guenthe
2012-06-06EVFILT_SIGNAL and EVFILT_PROC events need to track the process they'rePhilip Guenthe
2012-04-13First stab at making ptrace(2) usable for debugging multi-threaded programs.Mark Kettenis