about summary refs log tree commit diff
path: root/include/sys/resource.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-12 11:50:14 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-12 11:50:14 -0400
commit209f2bbd95cfac3a71bb8afa452c794d1ccf94cf (patch)
tree7043fa49295efca46883ee1a8cb928b38320cb00 /include/sys/resource.h
parent43b2e9bf26371e096b69f4753ff9f6dbec437f5e (diff)
downloadmusl-209f2bbd95cfac3a71bb8afa452c794d1ccf94cf.tar.gz
musl-209f2bbd95cfac3a71bb8afa452c794d1ccf94cf.tar.xz
musl-209f2bbd95cfac3a71bb8afa452c794d1ccf94cf.zip
add missing rlimit macros
Diffstat (limited to 'include/sys/resource.h')
-rw-r--r--include/sys/resource.h8
1 files changed, 8 insertions, 0 deletions
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