diff options
author | sos <sos@FreeBSD.org> | 1996-10-16 17:51:08 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 1996-10-16 17:51:08 +0000 |
commit | a7dce0775e41a26320ae35eb227c1339ef490017 (patch) | |
tree | d72720304037f68df6726fde308a22bc5c01e935 /sys/sys/imgact_elf.h | |
parent | 4f23e86b1a5a97ce2cbd515ba8d13c6a63a6e071 (diff) | |
download | FreeBSD-src-a7dce0775e41a26320ae35eb227c1339ef490017.zip FreeBSD-src-a7dce0775e41a26320ae35eb227c1339ef490017.tar.gz |
Prepare kernel to take advantage of "branded" ELF binaries.
Diffstat (limited to 'sys/sys/imgact_elf.h')
-rw-r--r-- | sys/sys/imgact_elf.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/sys/sys/imgact_elf.h b/sys/sys/imgact_elf.h index d24a725..cc0b7e2 100644 --- a/sys/sys/imgact_elf.h +++ b/sys/sys/imgact_elf.h @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id$ + * $Id: imgact_elf.h,v 1.1 1996/03/10 08:42:52 sos Exp $ */ #ifndef _IMGACT_ELF_H_ @@ -67,6 +67,8 @@ typedef struct { #define EI_CLASS 4 #define EI_DATA 5 #define EI_VERSION 6 +#define EI_SPARE 8 +#define EI_BRAND 8 #define ELFMAG0 '\177' @@ -200,14 +202,15 @@ typedef struct { } Elf32_Auxargs; typedef struct { - struct sysentvec *sysvec; - char *path; + char *brand; char *emul_path; -} Elf32_Interp_info; + char *interp_path; + struct sysentvec *sysvec; +} Elf32_Brandinfo; -#define MAX_INTERP 8 +#define MAX_BRANDS 8 -int elf_insert_interp __P((Elf32_Interp_info *entry)); -int elf_remove_interp __P((Elf32_Interp_info *entry)); +int elf_insert_brand_entry __P((Elf32_Brandinfo *entry)); +int elf_remove_brand_entry __P((Elf32_Brandinfo *entry)); #endif /* _IMGACT_ELF_H_ */ |