public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: libc-alpha@sourceware.org
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
Subject: [hurd,commited] hurd: Add missing RLIM_SAVED_MAX/CUR
Date: Thu, 19 Apr 2018 21:56:00 -0000	[thread overview]
Message-ID: <20180419215646.38786-1-samuel.thibault@ens-lyon.org> (raw)

	* 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

                 reply	other threads:[~2018-04-19 21:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180419215646.38786-1-samuel.thibault@ens-lyon.org \
    --to=samuel.thibault@ens-lyon.org \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).