linux-user: Implement prlimit64 syscall

Implement the prlimit64 syscall.

Slightly modified to apply upstream -Riku

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
This commit is contained in:
Peter Maydell 2011-06-27 17:44:52 +01:00 committed by Riku Voipio
parent d979e8eb54
commit 163a05a839
2 changed files with 47 additions and 0 deletions

View file

@ -2293,3 +2293,7 @@ struct target_epoll_event {
target_epoll_data_t data;
};
#endif
struct target_rlimit64 {
uint64_t rlim_cur;
uint64_t rlim_max;
};