From a279b8ed9ba5cb4960e685d2e28d1c4997f760d1 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 19 Apr 2018 23:55:13 +0200 Subject: hurd: Add missing RLIM_SAVED_MAX/CUR * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros. --- bits/resource.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bits/resource.h') diff --git a/bits/resource.h b/bits/resource.h index cda455bccf..7693d20fed 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 -- cgit v1.2.3