From fcea534e579077e10456f6ed06c033dfaa013a24 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Mon, 14 Apr 2014 17:42:49 +0200 Subject: fix RLIMIT_ constants for mips The mips arch is special in that it uses different RLIMIT_ numbers than other archs, so allow bits/resource.h to override the default RLIMIT_ numbers (empty on all archs except mips). Reported by orc. --- arch/mips/bits/resource.h | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 arch/mips/bits/resource.h (limited to 'arch/mips') diff --git a/arch/mips/bits/resource.h b/arch/mips/bits/resource.h new file mode 100644 index 00000000..414a4054 --- /dev/null +++ b/arch/mips/bits/resource.h @@ -0,0 +1,5 @@ +#define RLIMIT_NOFILE 5 +#define RLIMIT_AS 6 +#define RLIMIT_RSS 7 +#define RLIMIT_NPROC 8 +#define RLIMIT_MEMLOCK 9 -- cgit v1.2.1