Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/imgact_elf.h
Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Lines | typedef struct { | ||||
int machine; | int machine; | ||||
const char *compat_3_brand; /* pre Binutils 2.10 method (FBSD 3) */ | const char *compat_3_brand; /* pre Binutils 2.10 method (FBSD 3) */ | ||||
const char *emul_path; | const char *emul_path; | ||||
const char *interp_path; | const char *interp_path; | ||||
struct sysentvec *sysvec; | struct sysentvec *sysvec; | ||||
const char *interp_newpath; | const char *interp_newpath; | ||||
int flags; | int flags; | ||||
Elf_Brandnote *brand_note; | Elf_Brandnote *brand_note; | ||||
boolean_t (*header_supported)(struct image_params *, | bool (*header_supported)(struct image_params *, | ||||
int32_t *, uint32_t *); | int32_t *, uint32_t *); | ||||
/* High 8 bits of flags is private to the ABI */ | /* High 8 bits of flags is private to the ABI */ | ||||
#define BI_CAN_EXEC_DYN 0x0001 | #define BI_CAN_EXEC_DYN 0x0001 | ||||
#define BI_BRAND_NOTE 0x0002 /* May have note.ABI-tag section. */ | #define BI_BRAND_NOTE 0x0002 /* May have note.ABI-tag section. */ | ||||
#define BI_BRAND_NOTE_MANDATORY 0x0004 /* Must have note.ABI-tag section. */ | #define BI_BRAND_NOTE_MANDATORY 0x0004 /* Must have note.ABI-tag section. */ | ||||
#define BI_BRAND_ONLY_STATIC 0x0008 /* Match only interp-less binaries. */ | #define BI_BRAND_ONLY_STATIC 0x0008 /* Match only interp-less binaries. */ | ||||
} __ElfN(Brandinfo); | } __ElfN(Brandinfo); | ||||
Show All 37 Lines |