]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Round down the location of execpathp to slightly improve copyout speed.
authorbrooks <brooks@FreeBSD.org>
Fri, 13 Jul 2018 11:32:27 +0000 (11:32 +0000)
committerbrooks <brooks@FreeBSD.org>
Fri, 13 Jul 2018 11:32:27 +0000 (11:32 +0000)
commit38d849604104b639f5662b9a33cdb67c7589fbac
tree46d89bb703a9d86da91a75ec823bbcc87fbac67c
parent414774b7931d98c2bc5f42317ea69c8a32eebc6e
Round down the location of execpathp to slightly improve copyout speed.

In practice, this moves the padding from below the canary to above
execpathp has no impact on stack consumption.

Submitted by: Wuyang-Chung (via github pull request #159)
MFC after: 1 week
sys/kern/kern_exec.c