summaryrefslogtreecommitdiff
path: root/src/xlat/resources.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/xlat/resources.in')
-rw-r--r--src/xlat/resources.in39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/xlat/resources.in b/src/xlat/resources.in
new file mode 100644
index 000000000..f12cb855d
--- /dev/null
+++ b/src/xlat/resources.in
@@ -0,0 +1,39 @@
+#value_indexed
+RLIMIT_CPU 0
+RLIMIT_FSIZE 1
+RLIMIT_DATA 2
+RLIMIT_STACK 3
+RLIMIT_CORE 4
+
+#if defined(__alpha__)
+RLIMIT_RSS 5
+RLIMIT_NOFILE 6
+RLIMIT_AS 7
+RLIMIT_NPROC 8
+RLIMIT_MEMLOCK 9
+#elif defined(__mips__)
+RLIMIT_NOFILE 5
+RLIMIT_AS 6
+RLIMIT_RSS 7
+RLIMIT_NPROC 8
+RLIMIT_MEMLOCK 9
+#elif defined(__sparc__)
+RLIMIT_RSS 5
+RLIMIT_NOFILE 6
+RLIMIT_NPROC 7
+RLIMIT_MEMLOCK 8
+RLIMIT_AS 9
+#else
+RLIMIT_RSS 5
+RLIMIT_NPROC 6
+RLIMIT_NOFILE 7
+RLIMIT_MEMLOCK 8
+RLIMIT_AS 9
+#endif
+
+RLIMIT_LOCKS 10
+RLIMIT_SIGPENDING 11
+RLIMIT_MSGQUEUE 12
+RLIMIT_NICE 13
+RLIMIT_RTPRIO 14
+RLIMIT_RTTIME 15