summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sig.c
AgeCommit message (Expand)Author
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
2019-10-06Fix vn_open to require an op of 0, and 0 or KERNELPATH only as flags.Bob Beck
2019-10-03sysctl global nosuidcoredump was being inspected twice inside coredump(),Theo de Raadt
2019-08-07avoid large MAXPATHLEN object on the stack in coredump(), by allocatingTheo de Raadt
2019-07-10Stop sleeping at PUSER.Martin Pieuchot
2019-06-21Make resource limit access MP-safe. So far, the copy-on-write sharingVisa Hankala
2019-05-13When killing a process, the signal is handled by any thread thatAlexander Bluhm
2019-05-01add a KERNEL_ASSERT_LOCKED() to ptsignalDavid Gwynne
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