From 11ac0fc26ac23e16776d84b8d27eee593b527f8f Mon Sep 17 00:00:00 2001 From: kib Date: Thu, 6 Apr 2017 15:19:18 +0000 Subject: 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/i386/cloudabi32/cloudabi32_sysvec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/i386') diff --git a/sys/i386/cloudabi32/cloudabi32_sysvec.c b/sys/i386/cloudabi32/cloudabi32_sysvec.c index 45b9e5c..c2a21fa 100644 --- a/sys/i386/cloudabi32/cloudabi32_sysvec.c +++ b/sys/i386/cloudabi32/cloudabi32_sysvec.c @@ -200,4 +200,5 @@ Elf32_Brandinfo cloudabi32_brand = { .brand = ELFOSABI_CLOUDABI, .machine = EM_386, .sysvec = &cloudabi32_elf_sysvec, + .flags = BI_BRAND_ONLY_STATIC, }; -- cgit v1.1