From: Roland McGrath Date: Wed, 6 Oct 2004 22:14:53 +0000 (+0000) Subject: 2004-10-06 Roland McGrath X-Git-Tag: v4.5.18~504 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=566ce1fc6269266422490ead5ecfa8c6fd5e090c;p=strace 2004-10-06 Roland McGrath * resource.c (resources): Add RLIMIT_LOCKS, RLIMIT_SIGPENDING, and RLIMIT_MSGQUEUE, if defined. From Ulrich Drepper . Fixes RH#133594. --- 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 }, };