]> git.proxmox.com Git - qemu.git/commit
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)
commite22b7015353be824620b1f0f5e32a8575b898a8c
treedd3f762b2da2891b74b2ea0415779ea95b1480d2
parent95b33b2f4f0293068d1a42b3ab5badcc6333c6ba
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