summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
AgeCommit message (Expand)Author
2005-04-11pull in new MD STACKGAP_RANDOMTheo de Raadt
2005-03-09Fail exec for disabled compat with EPERM rather than ENOEXEC.Miod Vallat
2004-08-24back out the last change as it seems to produce problems found by brad@; dera...Michael Shalayeff
2004-08-01leave space for stackgap on growsuppersMichael Shalayeff
2004-07-07fix an issue when scripts are exec'd under systrace wheremarius eriksen
2004-06-23a few fixes to systracemarius eriksen
2004-06-11vm->vm_minsaddr was uninitialized (nothing realy uses it anyway)Michael Shalayeff
2004-05-14use pool for namei pathbuf. testing ok millert@ tdeval@Ted Unangst
2004-03-12don't leak memory on error, from Patrick LatifiTed Unangst
2004-02-05Decrement reference count in error case if uvm_map(9) fails and weTodd C. Miller
2003-09-01match syscallargs comments with realityHenning Brauer
2003-08-21emulation is now controlled by sysctl. changes:Ted Unangst
2003-06-21add exec/fork/exit hooks per process for compat emulations.Ted Unangst
2003-06-02stackgap_random becomes 64KTheo de Raadt
2003-05-17Typos; from Julien Bordet <zejames@greyhats.org>Alexander Yurchenko
2003-04-14There are two related changes.Artur Grabowski
2003-03-09Make the semantics of the P_SUGIDEXEC flag match the issetugid(2)Todd C. Miller
2002-12-11descructive -> destructiveMiod Vallat
2002-12-04No need to exit the process twice. exit1() can't fail.Artur Grabowski
2002-11-09fix a commentMichael Shalayeff
2002-10-06Move out the execution of vmcmds into a separate function.Artur Grabowski
2002-09-23Add support for vmcmds that load sections relative to a base section.Artur Grabowski
2002-08-22Change the vnode locking in exec to not keep the vnode locked almost allArtur Grabowski
2002-07-25Compare with the same type. ok deraadt@Thomas Nordin
2002-07-20Instead of copying out the signal trampoline on top of the stack, createArtur Grabowski
2002-05-02Cause the exec to fail if we are unable to allocate resources when dup'ingTodd C. Miller
2002-03-14invalid argv causes efault, not einval; form daniel@lucq.orgMichael Shalayeff
2002-02-17Enable stackgap_random. Set it initially to 1k.Artur Grabowski
2002-02-08- Rename FILE_{,UN}USE to FREF and FRELE. USE is a bad verb and we don't haveArtur Grabowski
2002-01-20When a process is exec:ing mark it with a flag. Check that flag in ptraceArtur Grabowski
2001-12-19UBC was a disaster. It worked very good when it worked, but on someArtur Grabowski
2001-11-27Merge in the unified buffer cache code as found in NetBSD 2001/03/10. TheArtur Grabowski
2001-11-12Bring in more changes from NetBSD. Mostly pagedaemon improvements.Artur Grabowski
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
2001-10-26 - every new fd created by falloc() is marked as larval and should not be usedArtur Grabowski
2001-09-19merge vm/vm_kern.h into uvm/uvm_extern.h; art@ okMichael Shalayeff
2001-08-25It makes more sense to have argc stored as a long on the stack,Artur Grabowski
2001-08-18Add a possibility to add a random offset to the stack on exec. This makesArtur Grabowski
2001-06-27remove old vmArtur Grabowski
2001-06-22Try again. (this time it's tested).Artur Grabowski
2001-06-22KNFTheo de Raadt
2001-06-19no way, you are on drugs. last commit revoked because it broke setuid majorlyTheo de Raadt
2001-06-18Check is sugid is allowed where we set the P_SUGID* flags.Artur Grabowski
2001-06-15Avoid a dangerous race.Artur Grabowski
2001-04-01Add a macro to initialize the contents of a vmcmd set.Artur Grabowski
2001-02-22ELF uses more than 5 vmcmds by default, so grow the default vmcmd set sizeArtur Grabowski
2000-11-16support kernel event queues, from FreeBSD by Jonathan Lemon,Niels Provos
2000-11-10Change the ktrace interface functions from taking the trace vnode to taking theArtur Grabowski
2000-09-28When allocating the unallocated file descriptors 0, 1 and 2 for suid execs,Artur Grabowski
2000-09-26Don't use MALLOC/FREE on variable sized allocations.Artur Grabowski