summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
AgeCommit message (Expand)Author
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
2000-04-20Add a function "ktrsettracevnode", that changes the ktrace vnode for a processArtur Grabowski
2000-03-23Use the new timeout facilities for ITIMER_REAL.Artur Grabowski
2000-03-22some more machine_stack_grows_upMichael Shalayeff
2000-02-01remove superflous declaration of vnops, it's now in <sys/file.h>assar
2000-01-24fix setregs call for bawkward stacks; does not affect straight caseMichael Shalayeff
2000-01-20set[ug]id, not just setuidTheo de Raadt
2000-01-20when procfs is compiled in, if a setuid process has any of descriptors 0-2Theo de Raadt
2000-01-19do not NULL dereference if fd_nfiles < 3Theo de Raadt
1999-11-05more stack direction fixes; art@ okMichael Shalayeff
1999-08-09Stop profiling (see profil(2)) when we execve() a new process; ross@netbsd.orgTodd C. Miller
1999-07-15Don't destroy sysvshm if the vmspace is shared (only affects uvm)Artur Grabowski
1999-07-15vm_offset_t -> {v,p}addr_t ; vm_size_t -> {v,p}size_tArtur Grabowski
1999-07-13introduce fdremove() to mark a file descriptor as unused. fdremove makesNiels Provos
1999-06-23Improved sysv shared memory. Works with UVM.Artur Grabowski
1999-06-03use __sparc__ just in caseTheo de Raadt