public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [hurd,commited] hurd: Add missing RLIM_SAVED_MAX/CUR
@ 2018-04-19 21:56 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2018-04-19 21:56 UTC (permalink / raw)
  To: libc-alpha; +Cc: Samuel Thibault

	* bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
---
 ChangeLog       | 1 +
 bits/resource.h | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 12ab0d6018..253f98332b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
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
-- 
2.15.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-04-19 21:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-19 21:56 [hurd,commited] hurd: Add missing RLIM_SAVED_MAX/CUR Samuel Thibault

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).