From 566ce1fc6269266422490ead5ecfa8c6fd5e090c Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 6 Oct 2004 22:14:53 +0000 Subject: [PATCH] 2004-10-06 Roland McGrath * resource.c (resources): Add RLIMIT_LOCKS, RLIMIT_SIGPENDING, and RLIMIT_MSGQUEUE, if defined. From Ulrich Drepper . Fixes RH#133594. --- resource.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/resource.c b/resource.c index a32c2e98..b4b34dc2 100644 --- a/resource.c +++ b/resource.c @@ -92,6 +92,15 @@ static const struct xlat resources[] = { #endif #ifdef RLIMIT_AS { RLIMIT_AS, "RLIMIT_AS" }, +#endif +#ifdef RLIMIT_LOCKS + { RLIMIT_LOCKS, "RLIMIT_LOCKS" }, +#endif +#ifdef RLIMIT_SIGPENDING + { RLIMIT_SIGPENDING, "RLIMIT_SIGPENDING" }, +#endif +#ifdef RLIMIT_MSGQUEUE + { RLIMIT_MSGQUEUE, "RLIMIT_MSGQUEUE" }, #endif { 0, NULL }, }; -- 2.50.1