]> granicus.if.org Git - strace/commitdiff
2004-10-06 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Wed, 6 Oct 2004 22:14:53 +0000 (22:14 +0000)
committerRoland McGrath <roland@redhat.com>
Wed, 6 Oct 2004 22:14:53 +0000 (22:14 +0000)
* resource.c (resources): Add RLIMIT_LOCKS, RLIMIT_SIGPENDING,
and RLIMIT_MSGQUEUE, if defined.
From Ulrich Drepper <drepper@redhat.com>.
Fixes RH#133594.

resource.c

index a32c2e98ef7d1409f930113b13e148220b0c4b80..b4b34dc2b6b821485d1abbbfd172b5129707b464 100644 (file)
@@ -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            },
 };