summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorJason Lowe-Power <jason@lowepower.com>2018-03-09 14:29:39 -0800
committerJason Lowe-Power <jason@lowepower.com>2018-03-15 20:45:34 +0000
commit5a1e52d5a019c128c4c87783f76f4742c5e4455f (patch)
tree6f610910ce3c65f64c22d432864270c8af884ff3 /src/arch
parent1e4ce6d54cc027dabd87f77b545c91f304aecc0d (diff)
downloadgem5-5a1e52d5a019c128c4c87783f76f4742c5e4455f.tar.xz
arch-x86,sim-se: Enable prlimit syscall
Change-Id: I15f0e5ddb72578de90ed68866c8a0c1501717d61 Signed-off-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-on: https://gem5-review.googlesource.com/8921 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com> Maintainer: Brandon Potter <Brandon.Potter@amd.com>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/linux/process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/linux/process.cc b/src/arch/x86/linux/process.cc
index b3e958677..1bde67e4d 100644
--- a/src/arch/x86/linux/process.cc
+++ b/src/arch/x86/linux/process.cc
@@ -522,7 +522,7 @@ static SyscallDesc syscallDescs64[] = {
/* 299 */ SyscallDesc("recvmmsg", unimplementedFunc),
/* 300 */ SyscallDesc("fanotify_init", unimplementedFunc),
/* 301 */ SyscallDesc("fanotify_mark", unimplementedFunc),
- /* 302 */ SyscallDesc("prlimit64", unimplementedFunc),
+ /* 302 */ SyscallDesc("prlimit64", prlimitFunc<X86Linux64>),
/* 303 */ SyscallDesc("name_to_handle_at", unimplementedFunc),
/* 304 */ SyscallDesc("open_by_handle_at", unimplementedFunc),
/* 305 */ SyscallDesc("clock_adjtime", unimplementedFunc),