]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Have rtld query the page size from the kernel
authorAndrew Turner <andrew@FreeBSD.org>
Mon, 4 Apr 2022 15:05:40 +0000 (16:05 +0100)
committerAndrew Turner <andrew@FreeBSD.org>
Thu, 7 Apr 2022 14:37:37 +0000 (15:37 +0100)
commite85eaa930862d5b4dc917bc31e8d7254a693635d
tree1d8ce8ba35d4a1d69eed6463bb41b7b450d5f58d
parent1b7d882f005ff472808201e7f3b0771d5c032ce9
Have rtld query the page size from the kernel

To allow for a dynamic page size on arm64 have the runtime linker
query the kernel for the currentl page size.

Reviewed by: kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34765
libexec/rtld-elf/map_object.c
libexec/rtld-elf/rtld-libc/rtld_libc.c
libexec/rtld-elf/rtld.c
libexec/rtld-elf/rtld.h