summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
AgeCommit message (Expand)Author
2017-01-21p_comm is the process's command and isn't per thread, so move it fromPhilip Guenther
2016-10-22Delete dead copy of pr->ps_vmspace; uvmspace_exec() can change it anywayPhilip Guenther
2016-09-03Reset PS_WXNEEDED in execve(2).Jeremie Courreges-Anglas
2016-06-11Cleanup some systrace leftovers.Mark Kettenis
2016-05-30Identify W^X labelled binaries at execve() time based upon WX_OPENBSD_WXNEEDEDTheo de Raadt
2016-05-30backout to insert correct commit messageTheo de Raadt
2016-05-30*** empty log message ***Theo de Raadt
2016-05-23Place a cpu-dependent trap/illegal instruction over the remainder of theTheo de Raadt
2016-05-10SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookieTheo de Raadt
2016-04-25boom goes the dynamiteTed Unangst
2016-03-19Remove the unused flags argument from VOP_UNLOCK().natano
2016-03-06No more compat emulations, so remove ktrace EMUL records and the baggagePhilip Guenther
2015-12-05remove stale lint annotationsTed Unangst
2015-11-02move the pledgenote annotation from `struct proc' to `struct nameidata'Sebastien Marie
2015-10-28move p_pledgenote setting next to NDINIT()Theo de Raadt
2015-10-25Fold "malloc" into "stdio" and -- recognizing that no program so far hasTheo de Raadt
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