aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-08-12 18:05:26 +0000
committerUlrich Drepper <drepper@redhat.com>2004-08-12 18:05:26 +0000
commit4214993aa0de76400ea3e895f0ce69d3a2cb0b80 (patch)
treeaee960c2789ed77ca2cd82a1016f2efe2edbedb2
parent744a7b202eaa010935ab3276d8ad276eb40bdd57 (diff)
downloadglibc-4214993aa0de76400ea3e895f0ce69d3a2cb0b80.tar.xz
glibc-4214993aa0de76400ea3e895f0ce69d3a2cb0b80.zip
(RLIMIT_SIGPENDING, RLIMIT_MSGQUEUE): Add.
(RLIMIT_NLIMITS, RLIM_NLIMITS): Adjust.
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/resource.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/bits/resource.h b/sysdeps/unix/sysv/linux/mips/bits/resource.h
index b8551a2395..01cd5b5e19 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/resource.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/resource.h
@@ -1,5 +1,6 @@
/* Bit values & structures for resource limits. Linux/MIPS version.
- Copyright (C) 1994,1996,1997,1998,1999,2000 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2004
+ 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
@@ -80,7 +81,16 @@ enum __rlimit_resource
RLIMIT_LOCKS = 10,
#define RLIMIT_LOCKS RLIMIT_LOCKS
- RLIM_NLIMITS = 11
+ /* Maximum number of pending signals. */
+ __RLIMIT_SIGPENDING = 11,
+#define RLIMIT_SIGPENDING __RLIMIT_SIGPENDING
+
+ /* Maximum bytes in POSIX message queues. */
+ __RLIMIT_MSGQUEUE = 12,
+#define RLIMIT_MSGQUEUE __RLIMIT_MSGQUEUE
+
+ RLIMIT_NLIMITS = 13,
+ RLIM_NLIMITS = RLIMIT_NLIMITS
#define RLIMIT_NLIMITS RLIMIT_NLIMITS
#define RLIM_NLIMITS RLIM_NLIMITS
};