| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | A process can always signal itself--no need to restrict signals even if | 2002-05-08 | 1 | -1/+4 | ||
| | | | | | it is setugid. deraadt@ ok | |||||
| * | Provide the correct signal number to the ktrace PSIG information instead | 2002-04-18 | 1 | -5/+9 | ||
| | | | | | | of an uninitialized variable. millert@ ok | |||||
| * | First round of __P removal in sys | 2002-03-14 | 1 | -4/+4 | ||
| | | ||||||
| * | include a siginfo_t with ktrace PSIG information, so that kdump can print | 2002-02-22 | 1 | -8/+17 | ||
| | | | | | | | | 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) | |||||
| * | Ignore signals if/when we are exiting. | 2002-01-31 | 1 | -1/+8 | ||
| | | | | | | | Prevents a hang in the NFS code when dumping core and pressing ^C, etc. ok art@ | |||||
| * | Pool deals fairly well with physical memory shortage, but it doesn't deal | 2002-01-23 | 1 | -2/+2 | ||
| | | | | | | | | | | | | | | | | | | | 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. | |||||
| * | If handler for SIGCHLD is SIG_IGN, reset to SIG_DLF. This is consistent | 2002-01-19 | 1 | -1/+3 | ||
| | | | | | | with our handling of SA_NOCLDWAIT as well as other operating systems. From FreeBSD. | |||||
| * | If the handler for SIGCHLD is set to SIG_IGN, act as if the | 2002-01-07 | 1 | -13/+12 | ||
| | | | | | | | SA_NOCLDWAIT (don't create zombies) flag has been specified. This is consistent with most other operating systems and is what XPG4.2 specifies. | |||||
| * | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | 2001-11-06 | 1 | -4/+2 | ||
| | | | | | (Look ma, I might have broken the tree) | |||||
| * | execsigs() could modify the wrong sigacts; based on David.Arana@eng.sun.com saying he could not understand how this worked | 2001-09-21 | 1 | -2/+3 | ||
| | | ||||||
| * | cosmetic. | 2001-09-20 | 1 | -2/+2 | ||
| | | ||||||
| * | Unshare signal actions on exec, from NetBSD. While I am here a little KNF nit too | 2001-08-09 | 1 | -2/+4 | ||
| | | ||||||
| * | remove old vm | 2001-06-27 | 1 | -5/+1 | ||
| | | ||||||
| * | KNF | 2001-06-22 | 1 | -12/+12 | ||
| | | ||||||
| * | trace_req is a nop. | 2001-06-18 | 1 | -10/+8 | ||
| | | | | | rename stop -> proc_stop (stop is not a good function name). | |||||
| * | kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and kern_ipc_10.c for other compat modules. | 2001-05-16 | 1 | -5/+1 | ||
| | | ||||||
| * | On popular demand, the Linux-compatibility clone(2) implementation based | 2001-04-02 | 1 | -3/+78 | ||
| | | | | | | on NetBSD's code, as well as some faked Posix RT extensions by me. This makes at least simple linuxthreads tests work. | |||||
| * | Clean up spl handling. | 2001-02-19 | 1 | -12/+15 | ||
| | | ||||||
| * | support kernel event queues, from FreeBSD by Jonathan Lemon, | 2000-11-16 | 1 | -1/+54 | ||
| | | | | | okay art@, millert@ | |||||
| * | Change the ktrace interface functions from taking the trace vnode to taking the | 2000-11-10 | 1 | -4/+3 | ||
| | | | | | traced proc. The vnode is in the proc and all functions need the proc. | |||||
| * | Changes to exit handling. | 2000-06-05 | 1 | -2/+2 | ||
| | | | | | | | | | 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 | |||||
| * | Change kernel-only open flag FNOSYMLINK to userland-visible O_NOFOLLOW; | 2000-04-21 | 1 | -2/+2 | ||
| | | | | | | | 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. | |||||
| * | Use LIST_ macros instead of internal field names to walk the allproc list. | 2000-03-03 | 1 | -2/+2 | ||
| | | ||||||
| * | more stack direction fixes; art@ ok | 1999-11-05 | 1 | -1/+5 | ||
| | | ||||||
| * | on exec, clear P_NOCLDWAIT; ambrisko@whistle.com | 1999-07-18 | 1 | -1/+2 | ||
| | | ||||||
| * | uvm allocation and name changes | 1999-02-26 | 1 | -1/+9 | ||
| | | ||||||
| * | oops | 1999-02-18 | 1 | -2/+1 | ||
| | | ||||||
| * | missing spl; christos | 1999-02-17 | 1 | -1/+2 | ||
| | | ||||||
| * | permit SIGUSR1/USR2 through as well in cansignal() | 1998-06-07 | 1 | -1/+3 | ||
| | | ||||||
| * | permit sig 0 (existance checking) to setuid parents; ibo@ragnarok.val-axs.net | 1998-05-30 | 1 | -1/+2 | ||
| | | ||||||
| * | add more signals to setuid part of cansignal() | 1998-05-18 | 1 | -1/+5 | ||
| | | ||||||
| * | convert CANSIGNAL() macro into a function, and then add significant constraints | 1998-05-17 | 1 | -13/+51 | ||
| | | | | | | | 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. | |||||
| * | GCC 2.8 caught this type error, thanks | 1998-02-20 | 1 | -2/+4 | ||
| | | ||||||
| * | core dumps disabled for SUID programs is default again. | 1998-01-09 | 1 | -2/+2 | ||
| | | ||||||
| * | Get rid of dumping across symlinks. Races can cause this to be problematic | 1998-01-09 | 1 | -3/+6 | ||
| | | | | | from a security standpoint (i.e. arbitrary files on the FS can be wiped out). | |||||
| * | add kern.nosuidcoredump to lock things out even more | 1997-12-08 | 1 | -1/+5 | ||
| | | ||||||
| * | Updates for VFS Lite 2 + soft update. | 1997-11-06 | 1 | -2/+2 | ||
| | | ||||||
| * | back out vfs lite2 till after 2.2 | 1997-10-06 | 1 | -2/+2 | ||
| | | ||||||
| * | VFS Lite2 Changes | 1997-10-06 | 1 | -2/+2 | ||
| | | ||||||
| * | From FreeBSD (joerg@freebsd.org): | 1997-09-15 | 1 | -1/+16 | ||
| | | | | | | | | 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. | |||||
| * | add copyright for the work i did in csignal() | 1997-09-12 | 1 | -1/+2 | ||
| | | ||||||
| * | for non-tty TIOCSPGRP/F_SETOWN/FIOSETOWN pgid setting calls, store uid | 1997-08-31 | 1 | -1/+41 | ||
| | | | | | | | | 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. | |||||
| * | add type & union sigval args to sendsig/trapsignal | 1997-02-01 | 1 | -7/+28 | ||
| | | ||||||
| * | add another parameter to trapsignal() and sendsig() -- fault addr to be | 1997-01-27 | 1 | -4/+5 | ||
| | | | | | delivered with in the siginfo information | |||||
| * | initial cut at SA_SIGINFO support | 1997-01-27 | 1 | -1/+17 | ||
| | | ||||||
| * | Signal handling now fully POSIX.1-1990 compliant | 1996-10-27 | 1 | -3/+4 | ||
| | | ||||||
| * | Allow kill(, 0) on process groups that hold only zombies; per POSIX | 1996-10-27 | 1 | -2/+1 | ||
| | | ||||||
| * | Don't verify that euid has write permission | 1996-10-27 | 1 | -27/+2 | ||
| | | ||||||
| * | Correct last fix | 1996-10-27 | 1 | -2/+2 | ||
| | | ||||||
| * | A process can send a signal to another process if the uid of the signalling | 1996-10-26 | 1 | -1/+2 | ||
| | | | | | process is the same as the saved uid of the signalled process | |||||
