]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Round down the location of execpathp to slightly improve copyout speed.
authorBrooks Davis <brooks@FreeBSD.org>
Fri, 13 Jul 2018 11:32:27 +0000 (11:32 +0000)
committerBrooks Davis <brooks@FreeBSD.org>
Fri, 13 Jul 2018 11:32:27 +0000 (11:32 +0000)
commitd92da7594102739c7786552c53e07e4ce3367f39
tree46d89bb703a9d86da91a75ec823bbcc87fbac67c
parent874774c5d486aefc80e345b1f12ec3c9f1628fd5
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