]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r300792,r300851,r301580:
authorbdrewery <bdrewery@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 27 Jun 2016 22:12:11 +0000 (22:12 +0000)
committerbdrewery <bdrewery@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 27 Jun 2016 22:12:11 +0000 (22:12 +0000)
commitf28486d0b774f5f0ae9e65975903eac4219b363a
tree2e94f75db74f90cd5455ed6e440c41339d88e9c2
parentfc70eb543d5eb78fa89fe6cd96ed0519b61a4b64
MFC r300792,r300851,r301580:

  r300792:
    exec: Add credential change information into imgp for process_exec hook.
  r300851:
    exec: get rid of one vnode lock/unlock pair in do_execve
  r301580:
    Old process credentials for setuid execve must not be dereferenced when the
    process credentials were not changed.  This can happen if an error occured
    trying to activate the setuid binary.  And on error, if new credentials
    were not yet assigned, they must be freed to not create the leak.

git-svn-id: svn://svn.freebsd.org/base/stable/10@302238 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/kern_exec.c
sys/sys/imgact.h