summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
AgeCommit message (Expand)Author
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
1999-04-22uvmspace_exec can change p_vmspace!Artur Grabowski
1999-02-26vm allocation changes for uvm.Artur Grabowski
1998-09-24pretty up previous fixArtur Grabowski
1998-09-23use the same flags for f_flag as there were used for vn_open, otherwise vn_cl...Artur Grabowski
1998-07-28Return EINVAL when msg_iovlen or iovcnt <= 0; Make uio_resid unsigned (size_t...Todd C. Miller
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
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