summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
AgeCommit message (Collapse)Author
1998-07-28Return 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-08open fd1 and fd2 as FREAD|FWRITETheo de Raadt
1998-07-02I suppose debugging code can be removedTheo de Raadt
1998-07-02for sugid procs ensure that fd 0-2 are allocated slots (by pointing atTheo 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-27securelevels do NOT protect running binaries; only filesystem activityTheo de Raadt
1998-06-09if we are being ptraced, do not permit execve of an immutable binaryTheo de Raadt
1998-02-20KNFNiklas Hallqvist
1998-02-08Updates to match type changes in syscall tablesThorsten Lockert
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-08-01only allow setuid if fd_refcnt == 1, due to rforkTheo de Raadt
1997-06-05kill the other timers tooTheo de Raadt
1997-06-04clear timer for setuid; klooTheo de Raadt
1997-03-29Return EISDIR for directories; idea from NetBSDThorsten Lockert
1997-02-18if a P_SUGIDEXEC proc execve()'s a non-set[ug]id program while runningTheo 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-31Cleanup execPer Fogelstrom
1996-08-25syncTheo de Raadt
1996-07-11do not lose setuid flagTheo de Raadt
1996-05-27native emul is now called "native"Theo de Raadt
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-12-14from netbsd; If we abort, make sure to free ep_emul_argTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt