Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-10-01 | Oppsie. Missing part from this commit: | Artur Grabowski | |
Prevent two localhost crashes with proc filters. - don't send NOTE_SIGNAL to exiting processes. - null dereference on error condition. from Peter Werner <peterw at ifost.org.au> deraadt@ ok | |||
2002-07-14 | be more permissive, and let close relatives do SIGALRM | Theo de Raadt | |
2002-06-11 | Protect mi_switch with splstatclock. | Artur Grabowski | |
2002-05-08 | A process can always signal itself--no need to restrict signals even if | Todd C. Miller | |
it is setugid. deraadt@ ok | |||
2002-04-18 | Provide the correct signal number to the ktrace PSIG information instead | Miod Vallat | |
of an uninitialized variable. millert@ ok | |||
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2002-02-22 | include a siginfo_t with ktrace PSIG information, so that kdump can print | Theo de Raadt | |
fault addresses and other information. (a small bug exists: in some signal delivery cases, two PSIG records may be inserted, because postsig() is unaware a PSIG record has already been placed. but this small bug can stay since the siginfo_t information helps us find and fix other bugs) | |||
2002-01-31 | Ignore signals if/when we are exiting. | Tobias Weingartner | |
Prevents a hang in the NFS code when dumping core and pressing ^C, etc. ok art@ | |||
2002-01-23 | Pool deals fairly well with physical memory shortage, but it doesn't deal | Artur Grabowski | |
well (not at all) with shortages of the vm_map where the pages are mapped (usually kmem_map). Try to deal with it: - group all information the backend allocator for a pool in a separate struct. The pool will only have a pointer to that struct. - change the pool_init API to reflect that. - link all pools allocating from the same allocator on a linked list. - Since an allocator is responsible to wait for physical memory it will only fail (waitok) when it runs out of its backing vm_map, carefully drain pools using the same allocator so that va space is freed. (see comments in code for caveats and details). - change pool_reclaim to return if it actually succeeded to free some memory, use that information to make draining easier and more efficient. - get rid of PR_URGENT, noone uses it. | |||
2002-01-19 | If handler for SIGCHLD is SIG_IGN, reset to SIG_DLF. This is consistent | Todd C. Miller | |
with our handling of SA_NOCLDWAIT as well as other operating systems. From FreeBSD. | |||
2002-01-07 | If the handler for SIGCHLD is set to SIG_IGN, act as if the | Todd C. Miller | |
SA_NOCLDWAIT (don't create zombies) flag has been specified. This is consistent with most other operating systems and is what XPG4.2 specifies. | |||
2001-11-06 | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | Miod Vallat | |
(Look ma, I might have broken the tree) | |||
2001-09-21 | execsigs() could modify the wrong sigacts; based on David.Arana@eng.sun.com ↵ | Theo de Raadt | |
saying he could not understand how this worked | |||
2001-09-20 | cosmetic. | Artur Grabowski | |
2001-08-09 | Unshare signal actions on exec, from NetBSD. While I am here a little KNF ↵ | Niklas Hallqvist | |
nit too | |||
2001-06-27 | remove old vm | Artur Grabowski | |
2001-06-22 | KNF | Theo de Raadt | |
2001-06-18 | trace_req is a nop. | Artur Grabowski | |
rename stop -> proc_stop (stop is not a good function name). | |||
2001-05-16 | kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and ↵ | Todd C. Miller | |
kern_ipc_10.c for other compat modules. | |||
2001-04-02 | On popular demand, the Linux-compatibility clone(2) implementation based | Niklas Hallqvist | |
on NetBSD's code, as well as some faked Posix RT extensions by me. This makes at least simple linuxthreads tests work. | |||
2001-02-19 | Clean up spl handling. | Artur Grabowski | |
2000-11-16 | support kernel event queues, from FreeBSD by Jonathan Lemon, | Niels Provos | |
okay art@, millert@ | |||
2000-11-10 | Change the ktrace interface functions from taking the trace vnode to taking the | Artur Grabowski | |
traced proc. The vnode is in the proc and all functions need the proc. | |||
2000-06-05 | Changes to exit handling. | Artur Grabowski | |
cpu_exit no longer frees the vmspace and u-area. This is now handled by a separate kernel thread "reaper". This is to avoid sleeping locks in the critical path of cpu_exit where we're not allowed to sleep. From NetBSD | |||
2000-04-21 | Change kernel-only open flag FNOSYMLINK to userland-visible O_NOFOLLOW; | Todd C. Miller | |
adapated from FreeBSD. Also change O_FSYNC to the more standard O_SYNC and document it. open(2) needs some real examples for proper usage, to come later. | |||
2000-03-03 | Use LIST_ macros instead of internal field names to walk the allproc list. | Artur Grabowski | |
1999-11-05 | more stack direction fixes; art@ ok | Michael Shalayeff | |
1999-07-18 | on exec, clear P_NOCLDWAIT; ambrisko@whistle.com | Theo de Raadt | |
1999-02-26 | uvm allocation and name changes | Artur Grabowski | |
1999-02-18 | oops | Theo de Raadt | |
1999-02-17 | missing spl; christos | Theo de Raadt | |
1998-06-07 | permit SIGUSR1/USR2 through as well in cansignal() | Theo de Raadt | |
1998-05-30 | permit sig 0 (existance checking) to setuid parents; ibo@ragnarok.val-axs.net | Theo de Raadt | |
1998-05-18 | add more signals to setuid part of cansignal() | Theo de Raadt | |
1998-05-17 | convert CANSIGNAL() macro into a function, and then add significant constraints | Theo de Raadt | |
regarding setuid/setgid targets (this is permitted by POSIX, and solves a number of security issues). This is due to a conversation months ago with dholland@hcs.harvard.edu. | |||
1998-02-20 | GCC 2.8 caught this type error, thanks | Niklas Hallqvist | |
1998-01-09 | core dumps disabled for SUID programs is default again. | Constantine Sapuntzakis | |
1998-01-09 | Get rid of dumping across symlinks. Races can cause this to be problematic | Constantine Sapuntzakis | |
from a security standpoint (i.e. arbitrary files on the FS can be wiped out). | |||
1997-12-08 | add kern.nosuidcoredump to lock things out even more | Theo de Raadt | |
1997-11-06 | Updates for VFS Lite 2 + soft update. | Constantine Sapuntzakis | |
1997-10-06 | back out vfs lite2 till after 2.2 | Theo de Raadt | |
1997-10-06 | VFS Lite2 Changes | Constantine Sapuntzakis | |
1997-09-15 | From FreeBSD (joerg@freebsd.org): | Todd C. Miller | |
Implement SA_NOCLDWAIT by reparenting kids of processes that have the appropriate bit set to PID 1, and let PID 1 handle the zombie. This assumes that PID 1 will wait for its kids (which is true of init). This also includes some FreeBSD sigaction.2. | |||
1997-09-12 | add copyright for the work i did in csignal() | Theo de Raadt | |
1997-08-31 | for non-tty TIOCSPGRP/F_SETOWN/FIOSETOWN pgid setting calls, store uid | Theo de Raadt | |
and euid as well, then deliver them using new csignal() interface which ensures that pgid setting process is permitted to signal the pgid process(es). Thanks to newsham@aloha.net for extensive help and discussion. | |||
1997-02-01 | add type & union sigval args to sendsig/trapsignal | Theo de Raadt | |
1997-01-27 | add another parameter to trapsignal() and sendsig() -- fault addr to be | Theo de Raadt | |
delivered with in the siginfo information | |||
1997-01-27 | initial cut at SA_SIGINFO support | Theo de Raadt | |
1996-10-27 | Signal handling now fully POSIX.1-1990 compliant | Thorsten Lockert | |
1996-10-27 | Allow kill(, 0) on process groups that hold only zombies; per POSIX | Thorsten Lockert | |