Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-09-28 | When allocating the unallocated file descriptors 0, 1 and 2 for suid execs, | Artur Grabowski | |
don't do it by doing namei on /dev/null. The vnode for the executed file is locked and we had a race where other processes could lock the parent directories up to the root. When the executing process did the lookup on /dev/null it could deadlock on the root vnode while still holding the lock on the executed vnode. Also, it's really bad idea to depend on certain filesystem layout inside the kernel. Now we get the null device vnode by cdevvp(getnulldev(), ... Thanks to Matrin Portmann <map@infinitum.ch> for providing the (large) ktrace that allowed me to track this down. Fixes 1369. | |||
2000-09-26 | Don't use MALLOC/FREE on variable sized allocations. | Artur Grabowski | |
2000-04-20 | Add a function "ktrsettracevnode", that changes the ktrace vnode for a process | Artur Grabowski | |
in a correct way. Use it in all places where the vnode was changed. (most of the earlier code was incorrect and had races). | |||
2000-03-23 | Use the new timeout facilities for ITIMER_REAL. | Artur Grabowski | |
2000-03-22 | some more machine_stack_grows_up | Michael Shalayeff | |
2000-02-01 | remove superflous declaration of vnops, it's now in <sys/file.h> | assar | |
2000-01-24 | fix setregs call for bawkward stacks; does not affect straight case | Michael Shalayeff | |
2000-01-20 | set[ug]id, not just setuid | Theo de Raadt | |
2000-01-20 | when procfs is compiled in, if a setuid process has any of descriptors 0-2 | Theo de Raadt | |
open for write on procfs, close it (and, thus, open a /dev/null instead); problem reported by nergal@idea.avet.com.pl, fix by me, thanks for help from millert | |||
2000-01-19 | do not NULL dereference if fd_nfiles < 3 | Theo de Raadt | |
1999-11-05 | more stack direction fixes; art@ ok | Michael Shalayeff | |
1999-08-09 | Stop profiling (see profil(2)) when we execve() a new process; ross@netbsd.org | Todd C. Miller | |
1999-07-15 | Don't destroy sysvshm if the vmspace is shared (only affects uvm) | Artur Grabowski | |
1999-07-15 | vm_offset_t -> {v,p}addr_t ; vm_size_t -> {v,p}size_t | Artur Grabowski | |
1999-07-13 | introduce fdremove() to mark a file descriptor as unused. fdremove makes | Niels Provos | |
sure that the fd_freefile hints stay in sync, otherwise free file descriptors might not be overlooked by fdalloc(); ok millert@ | |||
1999-06-23 | Improved sysv shared memory. Works with UVM. | Artur Grabowski | |
Original work done in FreeBSD, but this code was ported from NetBSD by Chuck Cranor. | |||
1999-06-03 | use __sparc__ just in case | Theo de Raadt | |
1999-04-22 | uvmspace_exec can change p_vmspace! | Artur Grabowski | |
1999-02-26 | vm allocation changes for uvm. | Artur Grabowski | |
Call uvmspace_exec instead of manually cleaning up. | |||
1998-09-24 | pretty up previous fix | Artur Grabowski | |
1998-09-23 | use the same flags for f_flag as there were used for vn_open, otherwise ↵ | Artur Grabowski | |
vn_close will not decrease v_writecount for the vnode causing panics | |||
1998-07-28 | Return EINVAL when msg_iovlen or iovcnt <= 0; Make uio_resid unsigned ↵ | Todd C. Miller | |
(size_t) and don't return EINVAL if it is < 0 in sys_{read,write}. Remove check for uio_resid < 0 uiomove() now that uio_resid is unsigned and brack remaining panics with #ifdef DIAGNOSTIC. vn_rdwr() must now take a size_t * as its 9th argument so change that and clean up uses of vn_rdwr(). Fixes 549 + more | |||
1998-07-08 | open fd1 and fd2 as FREAD|FWRITE | Theo de Raadt | |
1998-07-02 | I suppose debugging code can be removed | Theo de Raadt | |
1998-07-02 | for sugid procs ensure that fd 0-2 are allocated slots (by pointing at | Theo de Raadt | |
/dev/null -- future patch will use a dead vnode of some sort) to prevent reuse (ie. new allocations) of these fd which libc makes many assumptions about; problem noted by James Youngman | |||
1998-06-27 | securelevels do NOT protect running binaries; only filesystem activity | Theo de Raadt | |
1998-06-09 | if we are being ptraced, do not permit execve of an immutable binary | Theo de Raadt | |
1998-02-20 | KNF | Niklas Hallqvist | |
1998-02-08 | Updates to match type changes in syscall tables | Thorsten Lockert | |
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-08-01 | only allow setuid if fd_refcnt == 1, due to rfork | Theo de Raadt | |
1997-06-05 | kill the other timers too | Theo de Raadt | |
1997-06-04 | clear timer for setuid; kloo | Theo de Raadt | |
1997-03-29 | Return EISDIR for directories; idea from NetBSD | Thorsten Lockert | |
1997-02-18 | if a P_SUGIDEXEC proc execve()'s a non-set[ug]id program while running | Theo de Raadt | |
with uid/gid mismatches, P_SUGIDEXEC should persist (in case the environment has not been cleaned). pointed out by wietse@porcupine.org | |||
1996-08-31 | Cleanup exec | Per Fogelstrom | |
1996-08-25 | sync | Theo de Raadt | |
1996-07-11 | do not lose setuid flag | Theo de Raadt | |
1996-05-27 | native emul is now called "native" | Theo de Raadt | |
1996-03-03 | From NetBSD: 960217 merge | Niklas Hallqvist | |
1995-12-14 | from netbsd; If we abort, make sure to free ep_emul_arg | Theo de Raadt | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |