mirror of
https://github.com/troglobit/finit.git
synced 2026-11-13 17:00:16 +00:00
Conditionalize 'rlimit rttime', not available yet on musl libc
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
67c0d43912
commit
c47a0cd812
1 file changed
+2
@@ -169,7 +169,9 @@ static const struct rlimit_name rlimit_names[] = {
|
|||||||
{ "nproc", RLIMIT_NPROC },
|
{ "nproc", RLIMIT_NPROC },
|
||||||
{ "rss", RLIMIT_RSS },
|
{ "rss", RLIMIT_RSS },
|
||||||
{ "rtprio", RLIMIT_RTPRIO },
|
{ "rtprio", RLIMIT_RTPRIO },
|
||||||
|
#ifdef RLIMIT_RTTIME
|
||||||
{ "rttime", RLIMIT_RTTIME },
|
{ "rttime", RLIMIT_RTTIME },
|
||||||
|
#endif
|
||||||
{ "sigpending", RLIMIT_SIGPENDING },
|
{ "sigpending", RLIMIT_SIGPENDING },
|
||||||
{ "stack", RLIMIT_STACK },
|
{ "stack", RLIMIT_STACK },
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user