diff options
| author | manu <manu@NetBSD.org> | 2005-05-03 16:26:27 +0000 |
|---|---|---|
| committer | manu <manu@NetBSD.org> | 2005-05-03 16:26:27 +0000 |
| commit | 89647c7ca6f19d5682117c3285ebb8c8ba833a59 (patch) | |
| tree | 2cc8787cfddb0914a698128c37c6b96bea19899a /sys/compat/linux/common/linux_misc.h | |
| parent | 6c6d96d112084303316c8cb293d4b2e4b1987097 (diff) | |
First work on COMPAT_LINUX/amd64
Process startup and dynamiclinking work, but processes hang due to
Linux arch_prctl(2) not being really supported yet.
Diffstat (limited to 'sys/compat/linux/common/linux_misc.h')
| -rw-r--r-- | sys/compat/linux/common/linux_misc.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/compat/linux/common/linux_misc.h b/sys/compat/linux/common/linux_misc.h index 63147c27a8c..25e4d88ade6 100644 --- a/sys/compat/linux/common/linux_misc.h +++ b/sys/compat/linux/common/linux_misc.h @@ -1,4 +1,4 @@ -/* $NetBSD: linux_misc.h,v 1.11 2004/11/13 07:19:27 christos Exp $ */ +/* $NetBSD: linux_misc.h,v 1.12 2005/05/03 16:26:28 manu Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -83,7 +83,11 @@ struct linux_sysinfo { #define LINUX_RLIMIT_MEMLOCK 8 #define LINUX_RLIMIT_AS 9 #define LINUX_RLIMIT_LOCKS 10 +#ifdef __mips__ /* XXX only mips32. On mips64, it's ~0ul */ +#define LINUX_RLIM_INFINITY 0x7fffffffUL +#else #define LINUX_RLIM_INFINITY ~0ul +#endif /* When we don't know what to do, let it believe it is local */ |
