aboutsummaryrefslogtreecommitdiff
path: root/bits
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-19 23:55:13 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-19 23:55:13 +0200
commita279b8ed9ba5cb4960e685d2e28d1c4997f760d1 (patch)
tree0be0197529476e0207f754a6aeca4e1f219be626 /bits
parenta564872d2d4237dda098b77ccfa081bf9dda39af (diff)
downloadglibc-a279b8ed9ba5cb4960e685d2e28d1c4997f760d1.zip
glibc-a279b8ed9ba5cb4960e685d2e28d1c4997f760d1.tar.gz
glibc-a279b8ed9ba5cb4960e685d2e28d1c4997f760d1.tar.bz2
hurd: Add missing RLIM_SAVED_MAX/CUR
* bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
Diffstat (limited to 'bits')
-rw-r--r--bits/resource.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bits/resource.h b/bits/resource.h
index cda455b..7693d20 100644
--- a/bits/resource.h
+++ b/bits/resource.h
@@ -86,6 +86,10 @@ enum __rlimit_resource
# define RLIM64_INFINITY 0x7fffffffffffffffLL
#endif
+/* We can represent all limits. */
+#define RLIM_SAVED_MAX RLIM_INFINITY
+#define RLIM_SAVED_CUR RLIM_INFINITY
+
/* Type for resource quantity measurement. */
#ifndef __USE_FILE_OFFSET64