summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
AgeCommit message (Expand)Author
2012-08-02Apply profiling to all threads instead of just the thread that calledPhilip Guenthe
2012-05-01Correct the error path in execve when there's a race to single threadPhilip Guenthe
2012-04-22Add struct proc * argument to FRELE() and FILE_SET_MATURE() inPhilip Guenthe
2012-04-13First stab at making ptrace(2) usable for debugging multi-threaded programs.Mark Kettenis
2012-04-12move accounting flags to struct process; idea and ok guentherMike Belopuhov
2012-03-26clear junk in p_comm before copying shorter names into itTheo de Raadt
2012-03-23Make rusage totals, itimers, and profile settings per-process insteadPhilip Guenthe
2012-03-09New vmmap implementation.Ariane van der Steldt
2012-02-20First steps for making ptrace work with rthreads:Philip Guenthe
2012-02-15Hold struct filedesc's fd_lock when writing to the fd_ofiles, fd_ofileflags,Philip Guenthe
2011-12-14Handle rthreads consistently in ktrace by moving the flags and vnode intoPhilip Guenthe
2011-12-11Suspend other rthreads before dumping core or execing; make them exitPhilip Guenthe
2011-10-16TCB address should be reset when execing, to provide a clean setup forPhilip Guenthe
2011-06-06Backout vmmap in order to repair virtual address selection algorithmsAriane van der Steldt
2011-05-24Reimplement uvm/uvm_map.Ariane van der Steldt
2011-04-04Move P_EXEC flag from struct proc to process, so that setpgid() willPhilip Guenthe
2011-04-03Move PPWAIT flag from struct proc to process, so that rthreads inPhilip Guenthe
2011-04-02Move P_SUGID and P_SUGIDEXEC from struct proc to struct process, soPhilip Guenthe
2010-11-24Allow MD code to setup MD-specific mappings (kinda similar to the signalMiod Vallat
2010-07-26Correct the links between threads, processes, pgrps, and sessions,Philip Guenthe
2010-05-18move knote list to struct process. ok guentherTed Unangst
2010-01-14fix typos in comments, no code changes;Ingo Schwarze
2009-07-09Remove the VREF() macro and replaces all instances with a call to verf(),Thordur I. Bjornsson
2009-01-04properly terminate fake argument list.Thordur I. Bjornsson
2008-10-31accidental commit ... backoutTheo de Raadt
2008-10-31kern_sysctl.cTheo de Raadt
2008-02-13Make sure we reserve enough stack space on MACHINE_STACK_GROWS_UP architecturesMark Kettenis
2007-12-11Don't store arguments and environment in the space reserved for stackgap onMark Kettenis
2007-10-29MALLOC/FREE -> malloc/freeCharles Longeau
2007-09-15replace ctob and btoc with ptoa and atop respectivelyMartin Reindl
2007-03-15Since p_flag is often manipulated in interrupts and without biglockArtur Grabowski
2007-03-01Remove two ancient debugging printfs.Artur Grabowski
2006-11-15typos; from bret lambertJason McIntyre
2006-01-19redo (w/ proper changes everywhere ;):Michael Shalayeff
2005-12-07do not allow setugid processes to use /dev/fd/#, unless they are aTheo de Raadt
2005-12-03kernel support for threaded processes (rthreads).Ted Unangst
2005-11-28ansi/deregister.Jonathan Gray
2005-08-14catched->caughtMiod Vallat
2005-08-01 - We shouldn't allocate MAXPATHLEN from the stack.Artur Grabowski
2005-07-07clear vm_dused at exec time, since we are potentially re-using the vmspace;Theo de Raadt
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