summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/alpha/include/limits.h5
-rw-r--r--sys/arch/arm32/include/limits.h3
-rw-r--r--sys/arch/i386/include/limits.h3
-rw-r--r--sys/arch/kbus/include/limits.h3
-rw-r--r--sys/arch/m68k/include/limits.h5
-rw-r--r--sys/arch/mips/include/limits.h5
-rw-r--r--sys/arch/mvme88k/include/limits.h5
-rw-r--r--sys/arch/pc532/include/limits.h3
-rw-r--r--sys/arch/pmax/include/limits.h3
-rw-r--r--sys/arch/powerpc/include/limits.h5
-rw-r--r--sys/arch/sparc/include/limits.h5
-rw-r--r--sys/arch/vax/include/limits.h5
-rw-r--r--sys/arch/wgrisc/include/limits.h5
13 files changed, 47 insertions, 8 deletions
diff --git a/sys/arch/alpha/include/limits.h b/sys/arch/alpha/include/limits.h
index 56517ae1985..e209ad8bc0a 100644
--- a/sys/arch/alpha/include/limits.h
+++ b/sys/arch/alpha/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.5 1997/07/24 14:48:44 deraadt Exp $ */
+/* $OpenBSD: limits.h,v 1.6 1998/03/22 21:15:07 millert Exp $ */
/* $NetBSD: limits.h,v 1.2 1996/04/12 01:38:25 cgd Exp $ */
/*
@@ -77,6 +77,9 @@
#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
#define SIZE_T_MAX ULONG_MAX /* max value for a size_t */
+#define UID_MAX UINT_MAX /* max value for a uid_t */
+#define GID_MAX UINT_MAX /* max value for a gid_t */
+
/* Quads and longs are the same on the alpha */
#define UQUAD_MAX (ULONG_MAX) /* max value for a uquad_t */
#define QUAD_MAX (LONG_MAX) /* max value for a quad_t */
diff --git a/sys/arch/arm32/include/limits.h b/sys/arch/arm32/include/limits.h
index 0eb98088cac..309d8d2e2e6 100644
--- a/sys/arch/arm32/include/limits.h
+++ b/sys/arch/arm32/include/limits.h
@@ -66,6 +66,9 @@
#if !defined(_POSIX_SOURCE)
#define SIZE_T_MAX UINT_MAX /* max value for a size_t */
+#define UID_MAX UINT_MAX /* max value for a uid_t */
+#define GID_MAX UINT_MAX /* max value for a gid_t */
+
#define UQUAD_MAX 0xffffffffffffffffLL /* max unsigned quad */
#define QUAD_MAX 0x7fffffffffffffffLL /* max signed quad */
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */
diff --git a/sys/arch/i386/include/limits.h b/sys/arch/i386/include/limits.h
index a62bad77823..9e2a68baa82 100644
--- a/sys/arch/i386/include/limits.h
+++ b/sys/arch/i386/include/limits.h
@@ -66,6 +66,9 @@
#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
#define SIZE_T_MAX UINT_MAX /* max value for a size_t */
+#define UID_MAX UINT_MAX /* max value for a uid_t */
+#define GID_MAX UINT_MAX /* max value for a gid_t */
+
#define UQUAD_MAX 0xffffffffffffffffULL /* max unsigned quad */
#define QUAD_MAX 0x7fffffffffffffffLL /* max signed quad */
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */
diff --git a/sys/arch/kbus/include/limits.h b/sys/arch/kbus/include/limits.h
index d8156a96352..3d24c1f8b44 100644
--- a/sys/arch/kbus/include/limits.h
+++ b/sys/arch/kbus/include/limits.h
@@ -63,6 +63,9 @@
#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
#define SIZE_T_MAX UINT_MAX /* max value for a size_t */
+#define UID_MAX UINT_MAX /* max value for a uid_t */
+#define GID_MAX UINT_MAX /* max value for a gid_t */
+
/* GCC requires that quad constants be written as expressions. */
#define UQUAD_MAX ((u_quad_t)0-1) /* max value for a uquad_t */
/* max value for a quad_t */
diff --git a/sys/arch/m68k/include/limits.h b/sys/arch/m68k/include/limits.h
index a48cf4700fd..f509ff308bb 100644
--- a/sys/arch/m68k/include/limits.h
+++ b/sys/arch/m68k/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.2 1996/05/29 18:38:32 niklas Exp $ */
+/* $OpenBSD: limits.h,v 1.3 1998/03/22 21:15:14 millert Exp $ */
/* $NetBSD: limits.h,v 1.9 1994/10/26 07:50:48 cgd Exp $ */
/*
@@ -64,6 +64,9 @@
#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
#define SIZE_T_MAX UINT_MAX /* max value for a size_t */
+#define UID_MAX UINT_MAX /* max value for a uid_t */
+#define GID_MAX UINT_MAX /* max value for a gid_t */
+
#define UQUAD_MAX 0xffffffffffffffffULL /* max unsigned quad */
#define QUAD_MAX 0x7fffffffffffffffLL /* max signed quad */
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */
diff --git a/sys/arch/mips/include/limits.h b/sys/arch/mips/include/limits.h
index 335de6f0b60..687b0277d09 100644
--- a/sys/arch/mips/include/limits.h
+++ b/sys/arch/mips/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.1 1998/01/28 11:14:45 pefo Exp $ */
+/* $OpenBSD: limits.h,v 1.2 1998/03/22 21:15:16 millert Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -80,6 +80,9 @@
#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
#define SIZE_T_MAX UINT_MAX /* max value for a size_t */
+#define UID_MAX UINT_MAX /* max value for a uid_t */
+#define GID_MAX UINT_MAX /* max value for a gid_t */
+
/* GCC requires that quad constants be written as expressions. */
#define UQUAD_MAX ((u_quad_t)0-1) /* max value for a uquad_t */
/* max value for a quad_t */
diff --git a/sys/arch/mvme88k/include/limits.h b/sys/arch/mvme88k/include/limits.h
index a7282193b74..87b56260be1 100644
--- a/sys/arch/mvme88k/include/limits.h
+++ b/sys/arch/mvme88k/include/limits.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)limits.h 8.3 (Berkeley) 1/4/94
- * $Id: limits.h,v 1.4 1997/07/24 14:48:51 deraadt Exp $
+ * $Id: limits.h,v 1.5 1998/03/22 21:15:18 millert Exp $
*/
#ifndef _MACHINE_LIMITS_H_
@@ -75,6 +75,9 @@
#if !defined(_POSIX_SOURCE)
#define SIZE_T_MAX UINT_MAX /* max value for a size_t */
+#define UID_MAX UINT_MAX /* max value for a uid_t */
+#define GID_MAX UINT_MAX /* max value for a gid_t */
+
/* GCC requires that quad constants be written as expressions. */
#define UQUAD_MAX ((u_quad_t)0-1) /* max value for a uquad_t */
/* max value for a quad_t */
diff --git a/sys/arch/pc532/include/limits.h b/sys/arch/pc532/include/limits.h
index 5e77d0d9dc0..7237e570955 100644
--- a/sys/arch/pc532/include/limits.h
+++ b/sys/arch/pc532/include/limits.h
@@ -66,6 +66,9 @@
#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
#define SIZE_T_MAX UINT_MAX /* max value for a size_t */
+#define UID_MAX UINT_MAX /* max value for a uid_t */
+#define GID_MAX UINT_MAX /* max value for a gid_t */
+
#define UQUAD_MAX 0xffffffffffffffffULL /* max unsigned quad */
#define QUAD_MAX 0x7fffffffffffffffLL /* max signed quad */
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */
diff --git a/sys/arch/pmax/include/limits.h b/sys/arch/pmax/include/limits.h
index e791ef6b3e2..d6dcc71d231 100644
--- a/sys/arch/pmax/include/limits.h
+++ b/sys/arch/pmax/include/limits.h
@@ -76,6 +76,9 @@
#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
#define SIZE_T_MAX UINT_MAX /* max value for a size_t */
+#define UID_MAX UINT_MAX /* max value for a uid_t */
+#define GID_MAX UINT_MAX /* max value for a gid_t */
+
/* GCC requires that quad constants be written as expressions. */
#define UQUAD_MAX ((u_quad_t)0-1) /* max value for a uquad_t */
/* max value for a quad_t */
diff --git a/sys/arch/powerpc/include/limits.h b/sys/arch/powerpc/include/limits.h
index 5a56779647c..6dd061bd6b8 100644
--- a/sys/arch/powerpc/include/limits.h
+++ b/sys/arch/powerpc/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.4 1997/10/13 10:53:46 pefo Exp $ */
+/* $OpenBSD: limits.h,v 1.5 1998/03/22 21:15:22 millert Exp $ */
/* $NetBSD: limits.h,v 1.1 1996/09/30 16:34:28 ws Exp $ */
/*-
@@ -60,6 +60,9 @@
#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
#define SIZE_T_MAX UINT_MAX /* max value for a size_t */
+#define UID_MAX UINT_MAX /* max value for a uid_t */
+#define GID_MAX UINT_MAX /* max value for a gid_t */
+
#define UQUAD_MAX 0xffffffffffffffffULL /* max unsigned quad */
#define QUAD_MAX 0x7fffffffffffffffLL /* max signed quad */
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */
diff --git a/sys/arch/sparc/include/limits.h b/sys/arch/sparc/include/limits.h
index d84ff6cff25..d96529d5a0c 100644
--- a/sys/arch/sparc/include/limits.h
+++ b/sys/arch/sparc/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.4 1997/08/08 08:26:30 downsj Exp $ */
+/* $OpenBSD: limits.h,v 1.5 1998/03/22 21:15:24 millert Exp $ */
/* $NetBSD: limits.h,v 1.7 1996/01/05 18:10:57 pk Exp $ */
/*
@@ -64,6 +64,9 @@
#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
#define SIZE_T_MAX UINT_MAX /* max value for a size_t */
+#define UID_MAX UINT_MAX /* max value for a uid_t */
+#define GID_MAX UINT_MAX /* max value for a gid_t */
+
/* GCC requires that quad constants be written as expressions. */
#define UQUAD_MAX ((u_quad_t)0-1) /* max value for a uquad_t */
/* max value for a quad_t */
diff --git a/sys/arch/vax/include/limits.h b/sys/arch/vax/include/limits.h
index c4b7d702390..17e16070968 100644
--- a/sys/arch/vax/include/limits.h
+++ b/sys/arch/vax/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.4 1997/07/24 14:48:56 deraadt Exp $ */
+/* $OpenBSD: limits.h,v 1.5 1998/03/22 21:15:26 millert Exp $ */
/* $NetBSD: limits.h,v 1.6 1995/12/31 15:05:19 ragge Exp $ */
/*
@@ -67,6 +67,9 @@
#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
#define SIZE_T_MAX UINT_MAX /* max value for a size_t */
+#define UID_MAX UINT_MAX /* max value for a uid_t */
+#define GID_MAX UINT_MAX /* max value for a gid_t */
+
#define UQUAD_MAX 0xffffffffffffffffULL /* max unsigned quad */
#define QUAD_MAX 0x7fffffffffffffffLL /* max signed quad */
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */
diff --git a/sys/arch/wgrisc/include/limits.h b/sys/arch/wgrisc/include/limits.h
index 44fc011c9a7..3fef3a42593 100644
--- a/sys/arch/wgrisc/include/limits.h
+++ b/sys/arch/wgrisc/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.2 1997/07/24 14:48:57 deraadt Exp $ */
+/* $OpenBSD: limits.h,v 1.3 1998/03/22 21:15:27 millert Exp $ */
/* $NetBSD: limits.h,v 1.8 1995/03/28 18:19:16 jtc Exp $ */
/*
@@ -81,6 +81,9 @@
#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
#define SIZE_T_MAX UINT_MAX /* max value for a size_t */
+#define UID_MAX UINT_MAX /* max value for a uid_t */
+#define GID_MAX UINT_MAX /* max value for a gid_t */
+
/* GCC requires that quad constants be written as expressions. */
#define UQUAD_MAX ((u_quad_t)0-1) /* max value for a uquad_t */
/* max value for a quad_t */