]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Improvements for the brand detection and prioritization.
authorkib <kib@FreeBSD.org>
Thu, 6 Apr 2017 15:19:18 +0000 (15:19 +0000)
committerkib <kib@FreeBSD.org>
Thu, 6 Apr 2017 15:19:18 +0000 (15:19 +0000)
commit11ac0fc26ac23e16776d84b8d27eee593b527f8f
tree0f7461532ffabb423b535e6331c4c468c39ea31e
parent9a92d335245044a13a361c9927ac09113ff68488
Improvements for the brand detection and prioritization.

MFC r315701 (by ed):
Set the interpreter path to /nonexistent.

MFC r315749:
Adjust r314851 to not require every brand to specify interpreter path.

MFC r315753:
Add a flag BI_BRAND_ONLY_STATIC to specify that the brand only
matches static binaries.

MFC r315754:
Update r315753 with the proper flag name.

MFC r316211:
A followup to r315749, two more places where brand->interp_path was
accessed unconditionally.
sys/amd64/cloudabi32/cloudabi32_sysvec.c
sys/amd64/cloudabi64/cloudabi64_sysvec.c
sys/arm/cloudabi32/cloudabi32_sysvec.c
sys/arm64/cloudabi64/cloudabi64_sysvec.c
sys/i386/cloudabi32/cloudabi32_sysvec.c
sys/kern/imgact_elf.c
sys/sys/imgact_elf.h