summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
AgeCommit message (Expand)Author
2018-10-30If we execute a #!shell binary, the shell is an integral part of theTheo de Raadt
2018-08-05Decouple unveil from the pledge flags, by adding dedicated unveil flagsBob Beck
2018-07-20Remove a few leftovers from the days of emulation, which could result inTheo de Raadt
2018-07-13Unveiling unveil(2).Bob Beck
2018-06-18Put file descriptors on shared data structures when they are completelyMartin Pieuchot
2018-06-05Revert introduction of fdinsert(), a sanitify check triggers whenMartin Pieuchot
2018-06-02Put file descriptors on shared data structures when they are completelyMartin Pieuchot
2018-04-28Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is alwaysVisa Hankala
2018-04-27Move FREF() inside fd_getfile().Martin Pieuchot
2018-01-02Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.Philip Guenther
2018-01-01free(9) sizes for sys_execve.Florian Obser
2017-12-19Remove unused ps_stackgap from process structStefan Kempf
2017-12-12pledge()'s 2nd argument becomes char *execpromises, which becomes theTheo de Raadt
2017-08-29Remove old deactivated pledge path code. A replacement mechanism isTheo de Raadt
2017-04-13Provide mips64 with kernel-facing TCB_{GET,SET} macros that store itPhilip Guenther
2017-02-11Add a flags argument to falloc() that lets it optionally set thePhilip Guenther
2017-02-08Delete the obsolete fork/exec/exit emulation hooks.Philip Guenther
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