hurd: Add missing RLIM_SAVED_MAX/CUR

* bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
This commit is contained in:
Samuel Thibault 2018-04-19 23:55:13 +02:00
parent a564872d2d
commit a279b8ed9b
2 changed files with 5 additions and 0 deletions

View File

@ -83,6 +83,7 @@
[__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
[__USE_XOPEN] (OFDEL): New macro.
[__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
* bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
2018-04-18 Joseph Myers <joseph@codesourcery.com>

View File

@ -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