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/arm64/cloudabi64/cloudabi64_sysvec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/arm64') diff --git a/sys/arm64/cloudabi64/cloudabi64_sysvec.c b/sys/arm64/cloudabi64/cloudabi64_sysvec.c index fc786de..fbad0ba 100644 --- a/sys/arm64/cloudabi64/cloudabi64_sysvec.c +++ b/sys/arm64/cloudabi64/cloudabi64_sysvec.c @@ -181,5 +181,5 @@ Elf64_Brandinfo cloudabi64_brand = { .brand = ELFOSABI_CLOUDABI, .machine = EM_AARCH64, .sysvec = &cloudabi64_elf_sysvec, - .flags = BI_CAN_EXEC_DYN, + .flags = BI_CAN_EXEC_DYN | BI_BRAND_ONLY_STATIC, }; -- cgit v1.1