diff options
| author | manu <manu@NetBSD.org> | 2001-01-19 01:40:38 +0000 |
|---|---|---|
| committer | manu <manu@NetBSD.org> | 2001-01-19 01:40:38 +0000 |
| commit | cac0b393028873c8a39dfadf8658c9dac1ee3340 (patch) | |
| tree | 44a61d4b6621948219992ce01d16c933e0c9aed4 /sys/compat/linux/common/linux_exec.h | |
| parent | 54724278097f21a2eb5b9e49fe6e5523df8c32ec (diff) | |
Added Linux compatibility support for powerpc ports
Diffstat (limited to 'sys/compat/linux/common/linux_exec.h')
| -rw-r--r-- | sys/compat/linux/common/linux_exec.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/compat/linux/common/linux_exec.h b/sys/compat/linux/common/linux_exec.h index 5f8ab7b54dd..7428b1a0c90 100644 --- a/sys/compat/linux/common/linux_exec.h +++ b/sys/compat/linux/common/linux_exec.h @@ -1,4 +1,4 @@ -/* $NetBSD: linux_exec.h,v 1.13 2000/11/21 00:37:54 jdolecek Exp $ */ +/* $NetBSD: linux_exec.h,v 1.14 2001/01/19 01:40:38 manu Exp $ */ /*- * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. @@ -45,6 +45,8 @@ #include <compat/linux/arch/m68k/linux_exec.h> #elif defined(__alpha__) #include <compat/linux/arch/alpha/linux_exec.h> +#elif defined(__powerpc__) +#include <compat/linux/arch/powerpc/linux_exec.h> #else #error Undefined linux_exec.h machine type. #endif @@ -74,6 +76,17 @@ #define LINUX_N_BSSADDR(x,m) (LINUX_N_DATADDR(x,m) + (x).a_data) +/* + * From Linux's include/linux/elf.h + */ + #define LINUX_AT_UID 11 /* real uid */ + #define LINUX_AT_EUID 12 /* effective uid */ + #define LINUX_AT_GID 13 /* real gid */ + #define LINUX_AT_EGID 14 /* effective gid */ + #define LINUX_AT_PLATFORM 15 /* string identifying CPU for optimizations */ + #define LINUX_AT_HWCAP 16 /* arch dependent hints at CPU capabilities */ + #define LINUX_AT_CLKTCK 17 /* frequency at which times() increments */ + #ifdef _KERNEL __BEGIN_DECLS extern const struct emul emul_linux; |
