diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2017-03-22 22:23:01 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2017-03-22 22:23:01 +0000 |
commit | 1438fe3cf26f928726c5297d66ce96a303b9ccbc (patch) | |
tree | dcf287c91ecd25cb71b7e29afe79eefe5ad89f8b /sys/i386 | |
parent | 7aab7a80e233dd0cdaca713d0cbf0913f355420a (diff) | |
download | src-1438fe3cf26f928726c5297d66ce96a303b9ccbc.tar.gz src-1438fe3cf26f928726c5297d66ce96a303b9ccbc.zip |
Add a flag BI_BRAND_ONLY_STATIC to specify that the brand only
matches static binaries.
Interpretation of the 'static' there is that the binary must not
specify an interpreter. In particular, shared objects are matched by
the brand if BI_CAN_EXEC_DYN is also set.
This improves precision of the brand matching, which should eliminate
surprises due to brand ordering.
Revert r315701.
Discussed with and tested by: ed (previous version)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=315753
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/cloudabi32/cloudabi32_sysvec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/cloudabi32/cloudabi32_sysvec.c b/sys/i386/cloudabi32/cloudabi32_sysvec.c index 2658c4f9ed66..d03c9e267ab3 100644 --- a/sys/i386/cloudabi32/cloudabi32_sysvec.c +++ b/sys/i386/cloudabi32/cloudabi32_sysvec.c @@ -201,5 +201,5 @@ Elf32_Brandinfo cloudabi32_brand = { .machine = EM_386, .sysvec = &cloudabi32_elf_sysvec, .compat_3_brand = "CloudABI", - .interp_path = "/nonexistent", + .flags = BI_BRAND_NOTE_ONLY_STATIC, }; |