aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/ia64
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-23 19:36:18 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-23 19:36:18 +0000
commit94074f7882c9ff9dbda776166c88afbe87ef3918 (patch)
tree72ff1d2225e2fcc9966274be1200af9d44f1a112 /sysdeps/unix/sysv/linux/ia64
parent7a266a90d6fc0e0b764874eba8873d2491afb77b (diff)
downloadglibc-94074f7882c9ff9dbda776166c88afbe87ef3918.tar
glibc-94074f7882c9ff9dbda776166c88afbe87ef3918.tar.gz
glibc-94074f7882c9ff9dbda776166c88afbe87ef3918.tar.bz2
glibc-94074f7882c9ff9dbda776166c88afbe87ef3918.zip
(RLIMIT_LOCKS): Added. (RLIMIT_NLIMITS): Sync with kernel definition. (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Also define as macros.
Diffstat (limited to 'sysdeps/unix/sysv/linux/ia64')
-rw-r--r--sysdeps/unix/sysv/linux/ia64/bits/resource.h13
1 files 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
};