From 1e4ce6d54cc027dabd87f77b545c91f304aecc0d Mon Sep 17 00:00:00 2001 From: Jason Lowe-Power Date: Fri, 9 Mar 2018 10:58:44 -0800 Subject: [PATCH] sim-se: Fix fallthrough in prlimit Change-Id: Ieec4651000b3b4de05ba5ba11fdfa5392a5477e7 Signed-off-by: Jason Lowe-Power Reviewed-on: https://gem5-review.googlesource.com/8904 Reviewed-by: Gabe Black Maintainer: Brandon Potter --- src/sim/syscall_emul.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sim/syscall_emul.hh b/src/sim/syscall_emul.hh index eaa5e542c..e5b0f455a 100644 --- a/src/sim/syscall_emul.hh +++ b/src/sim/syscall_emul.hh @@ -1731,6 +1731,7 @@ prlimitFunc(SyscallDesc *desc, int callnum, Process *process, rlp->rlim_cur = rlp->rlim_max = 256*1024*1024; rlp->rlim_cur = TheISA::htog(rlp->rlim_cur); rlp->rlim_max = TheISA::htog(rlp->rlim_max); + break; default: warn("prlimit: unimplemented resource %d", resource); return -EINVAL; -- 2.30.2