Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-01-14 | change sigaltstack.ss_size type to size_t. handle syscall fallout. | Ted Unangst | |
add stack_t and ucontext_t typedefs. ok deraadt@ | |||
2003-09-01 | match syscallargs comments with reality | Henning Brauer | |
from Patrick Latifi <patrick.l@hermes.usherb.ca> ok jason@ tedu@ | |||
2003-08-15 | change arguments to suser. suser now takes the process, and a flags | Ted Unangst | |
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@ | |||
2003-08-04 | Use strlcpy(), not strncpy() when copying p->p_comm to core.c_name | Todd C. Miller | |
to guarantee NUL termination; from Patrick Latifi. | |||
2003-08-03 | Implement the WCONTINUED flag to the wait(2) family of syscalls and the | Todd C. Miller | |
associated WIFCONTINUED macro as per 1003.1-2001. Adapted from FreeBSD. A minor amount of trickiness is involved here. The value for WCONTINUED is chosen in such a way that _WSTATUS(_WCONTINUED) == _WSTOPPED and the WIFSTOPPED macro has been modified such that WIFSTOPPED(_WCONTINUED) != _WSTOPPED. This means we don't need to add an extra check to the WIFSIGNALED and WIFSTOPPED macros. deraadt@ OK. | |||
2003-07-21 | remove caddr_t casts. it's just silly to cast something when the function | Ted Unangst | |
takes a void *. convert uiomove to take a void * as well. ok deraadt@ | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-05-03 | string fixes; tedu ok | Theo de Raadt | |
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 | |