diff options
author | Szabolcs Nagy <nsz@port70.net> | 2014-04-14 17:42:49 +0200 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-04-15 19:17:52 -0400 |
commit | fcea534e579077e10456f6ed06c033dfaa013a24 (patch) | |
tree | 0d497c14049826bc71012a60e2ba04603e9c3b64 /arch/mips/bits/resource.h | |
parent | 96315d27b0e5000d53e09fb915c5066b3d47d3d2 (diff) | |
download | musl-fcea534e579077e10456f6ed06c033dfaa013a24.tar.gz musl-fcea534e579077e10456f6ed06c033dfaa013a24.tar.bz2 musl-fcea534e579077e10456f6ed06c033dfaa013a24.tar.xz musl-fcea534e579077e10456f6ed06c033dfaa013a24.zip |
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.
Diffstat (limited to 'arch/mips/bits/resource.h')
-rw-r--r-- | arch/mips/bits/resource.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |