From 94074f7882c9ff9dbda776166c88afbe87ef3918 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 23 Oct 2000 19:36:18 +0000 Subject: [PATCH] (RLIMIT_LOCKS): Added. (RLIMIT_NLIMITS): Sync with kernel definition. (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Also define as macros. --- sysdeps/unix/sysv/linux/ia64/bits/resource.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/sysdeps/unix/sysv/linux/ia64/bits/resource.h b/sysdeps/unix/sysv/linux/ia64/bits/resource.h index f9c454b0fb..5a42b78210 100644 --- a/sysdeps/unix/sysv/linux/ia64/bits/resource.h +++ b/sysdeps/unix/sysv/linux/ia64/bits/resource.h @@ -76,14 +76,18 @@ enum __rlimit_resource RLIMIT_AS = 9, #define RLIMIT_AS RLIMIT_AS - RLIM_NLIMITS = 10 + /* Maximum number of file locks. */ + RLIMIT_LOCKS = 10, +#define RLIMIT_LOCKS RLIMIT_LOCKS + + RLIMIT_NLIMITS = 11, + RLIM_NLIMITS = RLIMIT_NLIMITS #define RLIMIT_NLIMITS RLIMIT_NLIMITS #define RLIM_NLIMITS RLIM_NLIMITS }; /* Value to indicate that there is no limit. */ -#undef RLIM_INFINITY -# define RLIM_INFINITY ~0UL +#define RLIM_INFINITY ~0UL #ifdef __USE_LARGEFILE64 # define RLIM64_INFINITY ~0UL @@ -189,6 +193,9 @@ struct rusage enum __priority_which { PRIO_PROCESS = 0, /* WHO is a process ID. */ +#define PRIO_PROCESS PRIO_PROCESS PRIO_PGRP = 1, /* WHO is a process group ID. */ +#define PRIO_PGRP PRIO_PGRP PRIO_USER = 2 /* WHO is a user ID. */ +#define PRIO_USER PRIO_USER };