]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make the array pointed to by AT_PAGESIZES auxv properly aligned.
authorKonstantin Belousov <kib@FreeBSD.org>
Wed, 19 Mar 2014 12:35:04 +0000 (12:35 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Wed, 19 Mar 2014 12:35:04 +0000 (12:35 +0000)
commit88b124cede19379ecea53ed025dcafc0cecb971e
tree90279a4d32d566b9f2fa4f5a274e2665c06924fc
parent8d08c1118ca4892629dee3d8979b23277ab12a65
Make the array pointed to by AT_PAGESIZES auxv properly aligned.

Also, remove the expression which calculated the location of the
strings for a new image and grown over the time to be
non-comprehensible.  Instead, calculate the offsets by steps, which
also makes fixing the alignments much cleaner.

Reported and reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
sys/compat/freebsd32/freebsd32_misc.c
sys/kern/kern_exec.c