Changeset View
Changeset View
Standalone View
Standalone View
sys/amd64/linux/linux_sysvec.c
Show First 20 Lines • Show All 817 Lines • ▼ Show 20 Lines | static Elf_Brandnote linux64_brandnote = { | ||||
.flags = BN_TRANSLATE_OSREL, | .flags = BN_TRANSLATE_OSREL, | ||||
.trans_osrel = linux_trans_osrel | .trans_osrel = linux_trans_osrel | ||||
}; | }; | ||||
static Elf64_Brandinfo linux_glibc2brand = { | static Elf64_Brandinfo linux_glibc2brand = { | ||||
.brand = ELFOSABI_LINUX, | .brand = ELFOSABI_LINUX, | ||||
.machine = EM_X86_64, | .machine = EM_X86_64, | ||||
.compat_3_brand = "Linux", | .compat_3_brand = "Linux", | ||||
.emul_path = "/compat/linux", | .emul_path = linux_emul_path, | ||||
.interp_path = "/lib64/ld-linux-x86-64.so.2", | .interp_path = "/lib64/ld-linux-x86-64.so.2", | ||||
.sysvec = &elf_linux_sysvec, | .sysvec = &elf_linux_sysvec, | ||||
.interp_newpath = NULL, | .interp_newpath = NULL, | ||||
.brand_note = &linux64_brandnote, | .brand_note = &linux64_brandnote, | ||||
.flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE | .flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE | ||||
}; | }; | ||||
static Elf64_Brandinfo linux_glibc2brandshort = { | static Elf64_Brandinfo linux_glibc2brandshort = { | ||||
.brand = ELFOSABI_LINUX, | .brand = ELFOSABI_LINUX, | ||||
.machine = EM_X86_64, | .machine = EM_X86_64, | ||||
.compat_3_brand = "Linux", | .compat_3_brand = "Linux", | ||||
.emul_path = "/compat/linux", | .emul_path = linux_emul_path, | ||||
.interp_path = "/lib64/ld-linux.so.2", | .interp_path = "/lib64/ld-linux.so.2", | ||||
.sysvec = &elf_linux_sysvec, | .sysvec = &elf_linux_sysvec, | ||||
.interp_newpath = NULL, | .interp_newpath = NULL, | ||||
.brand_note = &linux64_brandnote, | .brand_note = &linux64_brandnote, | ||||
.flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE | .flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE | ||||
}; | }; | ||||
static Elf64_Brandinfo linux_muslbrand = { | static Elf64_Brandinfo linux_muslbrand = { | ||||
.brand = ELFOSABI_LINUX, | .brand = ELFOSABI_LINUX, | ||||
.machine = EM_X86_64, | .machine = EM_X86_64, | ||||
.compat_3_brand = "Linux", | .compat_3_brand = "Linux", | ||||
.emul_path = "/compat/linux", | .emul_path = linux_emul_path, | ||||
.interp_path = "/lib/ld-musl-x86_64.so.1", | .interp_path = "/lib/ld-musl-x86_64.so.1", | ||||
.sysvec = &elf_linux_sysvec, | .sysvec = &elf_linux_sysvec, | ||||
.interp_newpath = NULL, | .interp_newpath = NULL, | ||||
.brand_note = &linux64_brandnote, | .brand_note = &linux64_brandnote, | ||||
.flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE | .flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE | ||||
}; | }; | ||||
Elf64_Brandinfo *linux_brandlist[] = { | Elf64_Brandinfo *linux_brandlist[] = { | ||||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |