2004-10-06 Roland McGrath <roland@redhat.com>

* resource.c (resources): Add RLIMIT_LOCKS, RLIMIT_SIGPENDING,
	and RLIMIT_MSGQUEUE, if defined.
	From Ulrich Drepper <drepper@redhat.com>.
	Fixes RH#133594.
This commit is contained in:
Roland McGrath 2004-10-06 22:14:53 +00:00
parent 288a3a0c11
commit 566ce1fc62

View 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 },
};