From: Leah Neukirchen <leah@vuxu.org>
To: musl@lists.openwall.com
Subject: [PATCH] define RLIMIT_RTTIME, bump RLIMIT_NLIMITS
Date: Sat, 11 Jan 2020 19:42:12 +0100 [thread overview]
Message-ID: <20200111184212.17854-1-leah@vuxu.org> (raw)
This macro exists since Linux 2.6.25 and is defined in glibc since 2011.
Signed-off-by: Leah Neukirchen <leah@vuxu.org>
---
include/sys/resource.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/sys/resource.h b/include/sys/resource.h
index e0c86ae3..392a38f6 100644
--- a/include/sys/resource.h
+++ b/include/sys/resource.h
@@ -90,7 +90,8 @@ int prlimit(pid_t, int, const struct rlimit *, struct rlimit *);
#define RLIMIT_MSGQUEUE 12
#define RLIMIT_NICE 13
#define RLIMIT_RTPRIO 14
-#define RLIMIT_NLIMITS 15
+#define RLIMIT_RTTIME 16
+#define RLIMIT_NLIMITS 16
#define RLIM_NLIMITS RLIMIT_NLIMITS
--
2.24.1
next reply other threads:[~2020-01-11 18:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-11 18:42 Leah Neukirchen [this message]
2020-01-11 19:16 ` [PATCH v2] " Leah Neukirchen
2020-01-11 19:16 ` [PATCH] " Leah Neukirchen
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=20200111184212.17854-1-leah@vuxu.org \
--to=leah@vuxu.org \
--cc=musl@lists.openwall.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
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 NNTP newsgroup(s).