about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-29 01:32:14 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-29 01:32:14 +0000
commitee6c5330273edda1ab102ad780d1984aca055e77 (patch)
tree2bf9dc7e82d9dd9b010e2881d75fa8ddc68eda18
parenta0386a0da3369e271bbfc03d54c49ba4ab62cd3a (diff)
downloadglibc-ee6c5330273edda1ab102ad780d1984aca055e77.tar.gz
glibc-ee6c5330273edda1ab102ad780d1984aca055e77.tar.xz
glibc-ee6c5330273edda1ab102ad780d1984aca055e77.zip
Update.
2000-09-28  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
	* sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
	* sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.

2000-09-28  Martin Schwidefsksy  <schwidefsky@de.ibm.com>

2000-09-28  Denis Joseph Barrow  <djbarrow@de.ibm.com>
-rw-r--r--ChangeLog15
-rw-r--r--sysdeps/unix/sysv/linux/arm/bits/resource.h10
-rw-r--r--sysdeps/unix/sysv/linux/bits/resource.h8
-rw-r--r--sysdeps/unix/sysv/linux/i386/bits/resource.h10
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/resource.h10
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/bits/resource.h8
-rw-r--r--sysdeps/unix/sysv/linux/sh/bits/resource.h10
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/resource.h10
8 files changed, 60 insertions, 21 deletions
diff --git a/ChangeLog b/ChangeLog
index 6a125315b0..c90bf533a3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2000-09-28  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
+	* sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
+	* sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
+	* sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
+	* sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
+	* sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
+	* sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
+
 2000-09-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
 
 	* sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
@@ -11,13 +21,14 @@
 	* sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
 	* sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
 
-2000-09-28  Martin Schwidefsksy    <schwidefsky@de.ibm.com>
+2000-09-28  Martin Schwidefsksy  <schwidefsky@de.ibm.com>
 
 	* sysdeps/s390/atomicity.h: Fix compare_and_swap.
+
 	* sysdeps/unix/sysv/linux/s390/bits/fcntl.h
 	(F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
 
-2000-09-28  Denis Joseph Barrow     <djbarrow@de.ibm.com>
+2000-09-28  Denis Joseph Barrow  <djbarrow@de.ibm.com>
 
 	* sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
 	ucontext.h.
diff --git a/sysdeps/unix/sysv/linux/arm/bits/resource.h b/sysdeps/unix/sysv/linux/arm/bits/resource.h
index 710f1119c0..db3848b267 100644
--- a/sysdeps/unix/sysv/linux/arm/bits/resource.h
+++ b/sysdeps/unix/sysv/linux/arm/bits/resource.h
@@ -1,5 +1,5 @@
-/* Bit values & structures for resource limits.  Linux version.
-   Copyright (C) 1994, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Bit values & structures for resource limits.  Linux/Arm version.
+   Copyright (C) 1994,1996,1997,1998,1999,2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -76,7 +76,11 @@ enum __rlimit_resource
   RLIMIT_MEMLOCK = 8,
 #define RLIMIT_MEMLOCK RLIMIT_MEMLOCK
 
-  RLIMIT_NLIMITS = 10,
+  /* Maximum number of file locks.  */
+  RLIMIT_LOCKS = 10,
+#define RLIMIT_LOCKS RLIMIT_LOCKS
+
+  RLIMIT_NLIMITS = 11,
   RLIM_NLIMITS = RLIMIT_NLIMITS
 #define RLIMIT_NLIMITS RLIMIT_NLIMITS
 #define RLIM_NLIMITS RLIM_NLIMITS
diff --git a/sysdeps/unix/sysv/linux/bits/resource.h b/sysdeps/unix/sysv/linux/bits/resource.h
index 50c659389c..4af27e65c4 100644
--- a/sysdeps/unix/sysv/linux/bits/resource.h
+++ b/sysdeps/unix/sysv/linux/bits/resource.h
@@ -1,5 +1,5 @@
 /* Bit values & structures for resource limits.  Linux version.
-   Copyright (C) 1994, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1994,1996,1997,1998,1999,2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -76,7 +76,11 @@ enum __rlimit_resource
   RLIMIT_MEMLOCK = 8,
 #define RLIMIT_MEMLOCK RLIMIT_MEMLOCK
 
-  RLIM_NLIMITS = 10
+  /* Maximum number of file locks.  */
+  RLIMIT_LOCKS = 10,
+#define RLIMIT_LOCKS RLIMIT_LOCKS
+
+  RLIM_NLIMITS = 11
 #define RLIMIT_NLIMITS RLIMIT_NLIMITS
 #define RLIM_NLIMITS RLIM_NLIMITS
 };
diff --git a/sysdeps/unix/sysv/linux/i386/bits/resource.h b/sysdeps/unix/sysv/linux/i386/bits/resource.h
index 710f1119c0..f5af3d1b7e 100644
--- a/sysdeps/unix/sysv/linux/i386/bits/resource.h
+++ b/sysdeps/unix/sysv/linux/i386/bits/resource.h
@@ -1,5 +1,5 @@
-/* Bit values & structures for resource limits.  Linux version.
-   Copyright (C) 1994, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Bit values & structures for resource limits.  Linux/x86 version.
+   Copyright (C) 1994,1996,1997,1998,1999,2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -76,7 +76,11 @@ enum __rlimit_resource
   RLIMIT_MEMLOCK = 8,
 #define RLIMIT_MEMLOCK RLIMIT_MEMLOCK
 
-  RLIMIT_NLIMITS = 10,
+  /* Maximum number of file locks.  */
+  RLIMIT_LOCKS = 10,
+#define RLIMIT_LOCKS RLIMIT_LOCKS
+
+  RLIMIT_NLIMITS = 11,
   RLIM_NLIMITS = RLIMIT_NLIMITS
 #define RLIMIT_NLIMITS RLIMIT_NLIMITS
 #define RLIM_NLIMITS RLIM_NLIMITS
diff --git a/sysdeps/unix/sysv/linux/mips/bits/resource.h b/sysdeps/unix/sysv/linux/mips/bits/resource.h
index 613b6bcc4c..ced5c5e4ea 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/resource.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/resource.h
@@ -1,5 +1,5 @@
-/* Bit values & structures for resource limits.  MIPS/Linux version.
-   Copyright (C) 1994, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Bit values & structures for resource limits.  Linux/MIPS version.
+   Copyright (C) 1994,1996,1997,1998,1999,2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -76,7 +76,11 @@ enum __rlimit_resource
   RLIMIT_MEMLOCK = 9,
 #define RLIMIT_MEMLOCK RLIMIT_MEMLOCK
 
-  RLIM_NLIMITS = 10
+  /* Maximum number of file locks.  */
+  RLIMIT_LOCKS = 10,
+#define RLIMIT_LOCKS RLIMIT_LOCKS
+
+  RLIM_NLIMITS = 11
 #define RLIMIT_NLIMITS RLIMIT_NLIMITS
 #define RLIM_NLIMITS RLIM_NLIMITS
 };
diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/resource.h b/sysdeps/unix/sysv/linux/powerpc/bits/resource.h
index d78dd584e2..bcddec0f48 100644
--- a/sysdeps/unix/sysv/linux/powerpc/bits/resource.h
+++ b/sysdeps/unix/sysv/linux/powerpc/bits/resource.h
@@ -1,4 +1,4 @@
-/* Bit values & structures for resource limits.  Linux version.
+/* Bit values & structures for resource limits.  Linux/PPC version.
    Copyright (C) 1994-99, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -76,7 +76,11 @@ enum __rlimit_resource
   RLIMIT_MEMLOCK = 8,
 #define RLIMIT_MEMLOCK RLIMIT_MEMLOCK
 
-  RLIMIT_NLIMITS = 10,
+  /* Maximum number of file locks.  */
+  RLIMIT_LOCKS = 10,
+#define RLIMIT_LOCKS RLIMIT_LOCKS
+
+  RLIMIT_NLIMITS = 11,
   RLIM_NLIMITS = RLIMIT_NLIMITS
 #define RLIMIT_NLIMITS RLIMIT_NLIMITS
 #define RLIM_NLIMITS RLIM_NLIMITS
diff --git a/sysdeps/unix/sysv/linux/sh/bits/resource.h b/sysdeps/unix/sysv/linux/sh/bits/resource.h
index 710f1119c0..52b361945e 100644
--- a/sysdeps/unix/sysv/linux/sh/bits/resource.h
+++ b/sysdeps/unix/sysv/linux/sh/bits/resource.h
@@ -1,5 +1,5 @@
-/* Bit values & structures for resource limits.  Linux version.
-   Copyright (C) 1994, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Bit values & structures for resource limits.  Linux/SH version.
+   Copyright (C) 1994,1996,1997,1998,1999,2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -76,7 +76,11 @@ enum __rlimit_resource
   RLIMIT_MEMLOCK = 8,
 #define RLIMIT_MEMLOCK RLIMIT_MEMLOCK
 
-  RLIMIT_NLIMITS = 10,
+  /* Maximum number of file locks.  */
+  RLIMIT_LOCKS = 10,
+#define RLIMIT_LOCKS RLIMIT_LOCKS
+
+  RLIMIT_NLIMITS = 11,
   RLIM_NLIMITS = RLIMIT_NLIMITS
 #define RLIMIT_NLIMITS RLIMIT_NLIMITS
 #define RLIM_NLIMITS RLIM_NLIMITS
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/resource.h b/sysdeps/unix/sysv/linux/sparc/bits/resource.h
index 4d4eddb7aa..c5133b8433 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/resource.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/resource.h
@@ -1,5 +1,5 @@
-/* Bit values & structures for resource limits.  SPARC/Linux version.
-   Copyright (C) 1994, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Bit values & structures for resource limits.  Linux/SPARC version.
+   Copyright (C) 1994,1996,1997,1998,1999,2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -76,7 +76,11 @@ enum __rlimit_resource
   RLIMIT_MEMLOCK = 8,
 #define RLIMIT_MEMLOCK RLIMIT_MEMLOCK
 
-  RLIM_NLIMITS = 10
+  /* Maximum number of file locks.  */
+  RLIMIT_LOCKS = 10,
+#define RLIMIT_LOCKS RLIMIT_LOCKS
+
+  RLIM_NLIMITS = 11
 #define RLIMIT_NLIMITS RLIMIT_NLIMITS
 #define RLIM_NLIMITS RLIM_NLIMITS
 };