Searched hist:12235 (Results 1 - 1 of 1) sorted by relevance
/gem5/src/sim/ | ||
H A D | syscall_emul.hh | diff 12235:95ab7b9d1c57 Sat Oct 28 11:54:00 EDT 2017 Alec Roelke <ar4jc@virginia.edu> sim-se: Add prlimit system call Some ISAs (namely RISC-V) implement getrlimit and setrlimit using prlimit. This patch adds an implementation for the prlimit system call. Normally prlimit is supposed to provide the functionality of both getrlimit and setrlimit, but because gem5 does not support setrlimit this implementation of prlimit will simply display a warning and return a failure code if the setrlimit mode is used. The same thing will happen if a pid other than 0 is passed to it. Change-Id: I653af2d5a60e716f4d6286196be7600409efcef8 Reviewed-on: https://gem5-review.googlesource.com/5321 Maintainer: Brandon Potter <Brandon.Potter@amd.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> |
Completed in 39 milliseconds