summaryrefslogtreecommitdiff
path: root/sys/kern/exec_script.c
AgeCommit message (Collapse)Author
2003-05-03string fixes; tedu okTheo de Raadt
2002-09-18We can jump to the fail: label before shellargp is initialized.Artur Grabowski
Make sure that we don't free random memory when that happens. From <j at pureftpd.org> deraadt@ ok
2002-08-22Change the vnode locking in exec to not keep the vnode locked almost allArtur Grabowski
the time. This could lead to problems when a process wants to do an exec on the same vnode it's being run from and needs to copy in arguments from an uncached page in the data segment. When that happens uvm detects a vnode deadlock and returns an error causing execve() return EFAULT. This fixes the regress test in regress/sys/kern/exec_self Also, initialize scriptvp early in exec_script because it could be used uninitialized in a failure case.
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-10-26 - every new fd created by falloc() is marked as larval and should not be usedArtur Grabowski
any anyone. Every caller of falloc matures the fd when it's usable. - Since every lookup in the fd table must now check this flag and all of them do the same thing, move all the necessary checks into a function - fd_getfile.
2001-06-22KNFTheo de Raadt
2001-05-14ifdef FOO inside an ifdef FOO feels like overkill.Artur Grabowski
2000-09-26Don't use MALLOC/FREE on variable sized allocations.Artur Grabowski
2000-02-01remove superflous declaration of vnops, it's now in <sys/file.h>assar
1999-10-18force FDSCRIPTS after include files are pulled inTheo de Raadt
1999-01-11panic prints a newline for you, don't do it in the panic stringTodd C. Miller
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
1996-10-20Make it build with -Wparentheses.dm
1996-06-12warning: variable might be used uninitialized -- sucksTheo de Raadt
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt