]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r336238:
authorbrooks <brooks@FreeBSD.org>
Mon, 16 Jul 2018 14:17:23 +0000 (14:17 +0000)
committerbrooks <brooks@FreeBSD.org>
Mon, 16 Jul 2018 14:17:23 +0000 (14:17 +0000)
commit48b307741f05f5b9bec629d9cd529d6afbee6994
tree6cb13d66dd2c54374c0c4d23df997416bdd1e424
parentc858afac95d310e5ffc401f0e0102d3ae147b862
MFC r336238:

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)
sys/kern/kern_exec.c