From 209f2bbd95cfac3a71bb8afa452c794d1ccf94cf Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 12 Apr 2011 11:50:14 -0400 Subject: [PATCH] add missing rlimit macros --- include/sys/resource.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/sys/resource.h b/include/sys/resource.h index a9ec3bcb..42febc0a 100644 --- a/include/sys/resource.h +++ b/include/sys/resource.h @@ -67,7 +67,15 @@ int setpriority (int, id_t, int); #define RLIMIT_NPROC 6 #define RLIMIT_MEMLOCK 8 #define RLIMIT_LOCKS 10 +#define RLIMIT_SIGPENDING 11 +#define RLIMIT_MSGQUEUE 12 +#define RLIMIT_NICE 13 +#define RLIMIT_RTPRIO 14 +#define RLIMIT_NLIMITS 15 +#ifdef _GNU_SOURCE +#define RLIMT_NLIMIT RLIMIT_NLIMITS +#endif #endif -- 2.25.1