OSDN Git Service
(root)
/
android-x86
/
external-musl-libc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43b2e9b
)
add missing rlimit macros
author
Rich Felker
<dalias@aerifal.cx>
Tue, 12 Apr 2011 15:50:14 +0000
(11:50 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 12 Apr 2011 15:50:14 +0000
(11:50 -0400)
include/sys/resource.h
patch
|
blob
|
history
diff --git
a/include/sys/resource.h
b/include/sys/resource.h
index
a9ec3bc
..
42febc0
100644
(file)
--- 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