summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sig.c
AgeCommit message (Expand)Author
2019-02-19open the coredump file non-blocking. cheloha found it blocks with a fifo.Ted Unangst
2019-01-23Sprinkle a pinch of timerisvalid/timespecisvalid over the rest of sys/kerncheloha
2018-12-17Remove unused function gsignal().Visa Hankala
2018-11-12Add a mechanism for managing asynchronous IO signal registrations.Visa Hankala
2018-08-03wrap long linesTheo de Raadt
2018-07-18Revert the change that delivers process signals to any threads. AsAlexander Bluhm
2018-07-11If no thread can immediately handle a signal, which has been sentAlexander Bluhm
2018-07-10Move from sendsig() to its callers the initsiginfo() calls andPhilip Guenther
2018-04-28Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is alwaysVisa Hankala
2018-04-12Implement MAP_STACK option for mmap(). Synchronous faults (pagefault andTheo de Raadt
2018-03-27Exclude SIGKILL from ptrace(2) interception.Martin Pieuchot
2018-03-24Avoid calling issignal() twice on signal delivery in order notVisa Hankala
2018-02-26Fix a TOCTOU race that causes signals to be delivered more than once.Martin Pieuchot
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
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