diff options
author | Dmitry Chagin <dchagin@FreeBSD.org> | 2014-06-17 05:29:18 +0000 |
---|---|---|
committer | Dmitry Chagin <dchagin@FreeBSD.org> | 2014-06-17 05:29:18 +0000 |
commit | 2dedc1281a63207dc78cd52a12efcc3cf9df748c (patch) | |
tree | 47f5729812d37b6cd0db3a954c3724124bf0303d /sys/amd64/linux32/linux32_sysvec.c | |
parent | c459e5281fde2103a272494e50de6c7bf9a6851f (diff) | |
download | src-2dedc1281a63207dc78cd52a12efcc3cf9df748c.tar.gz src-2dedc1281a63207dc78cd52a12efcc3cf9df748c.zip |
Revert r266925 as it can lead to instant panic at fexecve():
To allow to run the interpreter itself add a new ELF branding type.
Pointed out by: kib, mjg
Notes
Notes:
svn path=/head/; revision=267563
Diffstat (limited to 'sys/amd64/linux32/linux32_sysvec.c')
-rw-r--r-- | sys/amd64/linux32/linux32_sysvec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/linux32/linux32_sysvec.c b/sys/amd64/linux32/linux32_sysvec.c index 9b5c5554cd5e..c06ce1198f86 100644 --- a/sys/amd64/linux32/linux32_sysvec.c +++ b/sys/amd64/linux32/linux32_sysvec.c @@ -1083,7 +1083,7 @@ static Elf32_Brandinfo linux_brand = { .sysvec = &elf_linux_sysvec, .interp_newpath = NULL, .brand_note = &linux32_brandnote, - .flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE | BI_CAN_EXEC_INTERP + .flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE }; static Elf32_Brandinfo linux_glibc2brand = { @@ -1095,7 +1095,7 @@ static Elf32_Brandinfo linux_glibc2brand = { .sysvec = &elf_linux_sysvec, .interp_newpath = NULL, .brand_note = &linux32_brandnote, - .flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE | BI_CAN_EXEC_INTERP + .flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE }; Elf32_Brandinfo *linux_brandlist[] = { |