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.
This commit is contained in:
parent
96315d27b0
commit
fcea534e57
9 changed files with 10 additions and 2 deletions
5
arch/mips/bits/resource.h
Normal file
5
arch/mips/bits/resource.h
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#define RLIMIT_NOFILE 5
|
||||
#define RLIMIT_AS 6
|
||||
#define RLIMIT_RSS 7
|
||||
#define RLIMIT_NPROC 8
|
||||
#define RLIMIT_MEMLOCK 9
|
||||
Loading…
Add table
Add a link
Reference in a new issue