summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sig.c
AgeCommit message (Expand)Author
2017-12-30Don't pull in <sys/file.h> just to get fcntl.hPhilip Guenther
2017-11-27Fix comment typoPhilip Guenther
2017-06-08ASLR, W^X, and guard pages trigger processor traps that result inAlexander Bluhm
2017-04-20Add a port of witness(4) lock validation tool from FreeBSD.Visa Hankala
2017-04-14Avoid some false positives with cppcheck. No binary change.Alexander Bluhm
2017-04-13Provide mips64 with kernel-facing TCB_{GET,SET} macros that store itPhilip Guenther
2017-01-24Rename pfind(9) into tfind(9) to reflect that it deals with threads.Martin Pieuchot
2017-01-21p_comm is the process's command and isn't per thread, so move it fromPhilip Guenther
2016-10-05Display/test/use the process PID, not the thread's TID, in a few places.Philip Guenther
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-09-04Remove sys_o58_kill since OpenBSD 6.0 has been tagged/released.Joel Sing
2016-08-25pool_setiplDavid Gwynne
2016-07-14Prevent silly states via knotes on pids > 2^32 and on nonexistent signals.Philip Guenther
2016-07-06fix several places where calculating ticks could overflow.Ted Unangst
2016-06-27Repair kill(2) on zombie processes.Jeremie Courreges-Anglas
2016-06-27Restore the sys_o58_kill system call.Joel Sing
2016-06-11if the timeout rounds to zero, make it one tick, otherwise we sleepTed Unangst
2016-05-31sys_o58_kill is no longer needed for compat.Theo de Raadt
2016-03-29Use a macro to check if a thread has a sibling.Martin Pieuchot
2016-03-26add newline on the end of the failure messageBob Beck
2016-03-19Remove the unused flags argument from VOP_UNLOCK().natano
2016-03-09Correct some comments and definitions, from Michal Mazurek.Martin Pieuchot
2016-01-09drop "abort" promise, and make it the default behaviour.Sebastien Marie
2015-12-05remove stale lint annotationsTed Unangst
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