mips: rlimit codes are not the same
authorWesley W. Terpstra <terpstra@debian.org>
Tue, 12 Jul 2011 11:42:00 +0000 (14:42 +0300)
committerRiku Voipio <riku.voipio@linaro.org>
Tue, 12 Jul 2011 11:42:00 +0000 (14:42 +0300)
commite013b67be208c5affa3e7ba292ca2f26d9be2021
treedd3f762b2da2891b74b2ea0415779ea95b1480d2
parent1765a2ebe06aa8839495f5527117c37a41f63c90
mips: rlimit codes are not the same

The codes for get/setrlimit differ between linux target platforms.
This patch adds conversion.
This is important else programs (rsyslog, python, ...) can go into a
near infinite loop trying to close all the file descriptors from 0 to
-1.

Signed-off-by: Wesley W. Terpstra <terpstra@debian.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c
linux-user/syscall_defs.h