]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Pass pointers to info parsed from notes, to brandinfo->header_supported filter.
authorKonstantin Belousov <kib@FreeBSD.org>
Sun, 23 Aug 2020 20:06:55 +0000 (20:06 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Sun, 23 Aug 2020 20:06:55 +0000 (20:06 +0000)
commit0cad2aa2dd90f51aa8760ed0644adf26989b41fc
tree76e3420941b37c15bc761cd3fa66652d01fb574b
parente3cf75826d611cb47c385d9e63ad3f2fd7a833d2
Pass pointers to info parsed from notes, to brandinfo->header_supported filter.

Currently, we parse notes for the values of ELF FreeBSD feature flags
and osrel.  Knowing these values, or knowing that image does not carry
the note if pointers are NULL, is useful to decide which ABI variant
(brand) we want to activate for the image.

Right now this is only a plumbing change

Tested by: pho
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D25273
sys/arm/arm/elf_machdep.c
sys/arm64/arm64/elf32_machdep.c
sys/kern/imgact_elf.c
sys/powerpc/powerpc/elf64_machdep.c
sys/sys/imgact_elf.h