Changeset View
Changeset View
Standalone View
Standalone View
sys/i386/linux/linux_sysvec.c
Show First 20 Lines • Show All 949 Lines • ▼ Show 20 Lines | static Elf_Brandnote linux_brandnote = { | ||||
.flags = BN_TRANSLATE_OSREL, | .flags = BN_TRANSLATE_OSREL, | ||||
.trans_osrel = linux_trans_osrel | .trans_osrel = linux_trans_osrel | ||||
}; | }; | ||||
static Elf32_Brandinfo linux_brand = { | static Elf32_Brandinfo linux_brand = { | ||||
.brand = ELFOSABI_LINUX, | .brand = ELFOSABI_LINUX, | ||||
.machine = EM_386, | .machine = EM_386, | ||||
.compat_3_brand = "Linux", | .compat_3_brand = "Linux", | ||||
.emul_path = "/compat/linux", | .emul_path = linux_emul_path, | ||||
.interp_path = "/lib/ld-linux.so.1", | .interp_path = "/lib/ld-linux.so.1", | ||||
.sysvec = &elf_linux_sysvec, | .sysvec = &elf_linux_sysvec, | ||||
.interp_newpath = NULL, | .interp_newpath = NULL, | ||||
.brand_note = &linux_brandnote, | .brand_note = &linux_brandnote, | ||||
.flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE | .flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE | ||||
}; | }; | ||||
static Elf32_Brandinfo linux_glibc2brand = { | static Elf32_Brandinfo linux_glibc2brand = { | ||||
.brand = ELFOSABI_LINUX, | .brand = ELFOSABI_LINUX, | ||||
.machine = EM_386, | .machine = EM_386, | ||||
.compat_3_brand = "Linux", | .compat_3_brand = "Linux", | ||||
.emul_path = "/compat/linux", | .emul_path = linux_emul_path, | ||||
.interp_path = "/lib/ld-linux.so.2", | .interp_path = "/lib/ld-linux.so.2", | ||||
.sysvec = &elf_linux_sysvec, | .sysvec = &elf_linux_sysvec, | ||||
.interp_newpath = NULL, | .interp_newpath = NULL, | ||||
.brand_note = &linux_brandnote, | .brand_note = &linux_brandnote, | ||||
.flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE | .flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE | ||||
}; | }; | ||||
static Elf32_Brandinfo linux_muslbrand = { | static Elf32_Brandinfo linux_muslbrand = { | ||||
.brand = ELFOSABI_LINUX, | .brand = ELFOSABI_LINUX, | ||||
.machine = EM_386, | .machine = EM_386, | ||||
.compat_3_brand = "Linux", | .compat_3_brand = "Linux", | ||||
.emul_path = "/compat/linux", | .emul_path = linux_emul_path, | ||||
.interp_path = "/lib/ld-musl-i386.so.1", | .interp_path = "/lib/ld-musl-i386.so.1", | ||||
.sysvec = &elf_linux_sysvec, | .sysvec = &elf_linux_sysvec, | ||||
.interp_newpath = NULL, | .interp_newpath = NULL, | ||||
.brand_note = &linux_brandnote, | .brand_note = &linux_brandnote, | ||||
.flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE | .flags = BI_CAN_EXEC_DYN | BI_BRAND_NOTE | ||||
}; | }; | ||||
Elf32_Brandinfo *linux_brandlist[] = { | Elf32_Brandinfo *linux_brandlist[] = { | ||||
▲ Show 20 Lines • Show All 82 Lines • Show Last 20 Lines |