summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
AgeCommit message (Expand)Author
2015-10-10I forgot execve would go through the namei codepath, so a program markedTheo de Raadt
2015-10-09Rename tame() to pledge(). This fairly interface has evolved to be moreTheo de Raadt
2015-10-07Add the tame "exec" request. This allows processes which requestTheo de Raadt
2015-10-02missing ) in COMPAT_LINUX blockTheo de Raadt
2015-10-02Add ktracing of argv and envp to execve(2), with envp not traced by defaultPhilip Guenther
2015-09-28Track size of an opaque allocation to pass to free() laterTheo de Raadt
2015-07-22memory leak in execve with systrace, plus some unreachable codeTheo de Raadt
2015-07-20Add kbind, a syscall for ld.so to use to securely and efficiently updatePhilip Guenther
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-09Change the way stackgap_random is applied. Instead of applying it within theMiod Vallat
2015-02-09Stop using USRSTACK as the edge of the stack, but rather use the vmspaceMiod Vallat
2015-02-07forbid execve() with argc == 0. prompted by a millert email.Ted Unangst
2015-01-26Move the "stackgap" from the stack into its own page at a random address.Mark Kettenis
2015-01-20Move ps_strings "after" the random stackgap. This makes its location aMark Kettenis
2015-01-15Map the sigcode page with MAP_INHERIT_COPY to make sure it isn't shared aterMark Kettenis
2015-01-15Map the sigcode page copy-on-write. This allows userland to put breakpointsMark Kettenis
2014-12-17Prefer MADV_* over POSIX_MADV_* in kernel for consistency: the latterPhilip Guenther
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.Ted Unangst
2014-12-15Use MAP_INHERIT_* for the 'inh' argument to the UMV_MAPFLAG() macro,Philip Guenther
2014-12-10convert bcopy to memcpy. ok millertTed Unangst
2014-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
2014-11-16Replace a plethora of historical protection options with justTheo de Raadt
2014-10-18Don't assume that ep_taddr and ep_daddr are page-aligned. It is possible toMark Kettenis
2014-09-28Replace uvm_km_alloc(9) and uvm_km_free(9) with the equivalent km_alooc(9)Mark Kettenis
2014-09-08Delete procfs; it's always had races and is now unused: no one noticed forPhilip Guenther
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
2014-05-15Move from struct proc to process the reference-count-holding pointersPhilip Guenther
2014-04-18Have each thread keeps its own (counted!) reference to the process's ucredsPhilip Guenther
2014-03-30Eliminates struct pcred by moving the real and saved ugids intoPhilip Guenther
2014-03-26Move p_emul and p_sigcode from proc to process.Philip Guenther
2014-03-19Properly align the stack using _STACKALIGNBYTES, rather that the ALIGN()Theo de Raadt
2014-01-21bzero -> memsetTed Unangst
2014-01-20Move p_textvp from struct proc to struct process so that the exit codePhilip Guenther
2013-06-17Add support for the _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME options,Philip Guenther
2013-03-30vrele() is a tricky beast. it can sleep if the refcount hits zero,Ted Unangst
2013-03-28do not include machine/cpu.h from a .c file; it is the responsibility ofTheo de Raadt
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