define RLIMIT_RTTIME, bump RLIMIT_NLIMITS
authorLeah Neukirchen <leah@vuxu.org>
Sat, 11 Jan 2020 19:16:59 +0000 (20:16 +0100)
committerRich 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

index e0c86ae..3068328 100644 (file)
@@ -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