projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70d8060
)
define RLIMIT_RTTIME, bump RLIMIT_NLIMITS
author
Leah Neukirchen
<leah@vuxu.org>
Sat, 11 Jan 2020 19:16:59 +0000
(20:16 +0100)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 12 Jan 2020 02:10:41 +0000
(21:10 -0500)
This macro exists since Linux 2.6.25 and is defined in glibc since 2011.
include/sys/resource.h
patch
|
blob
|
history
diff --git
a/include/sys/resource.h
b/include/sys/resource.h
index e0c86ae33c3e183df9b32387bd8a4bc4a897911c..3068328d09612b8b9d58f2874ea17b0afeef0fef 100644
(file)
--- 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 15
+#define RLIMIT_NLIMITS 16
#define RLIM_NLIMITS RLIMIT_NLIMITS