arch-x86,sim-se: Enable prlimit syscall
authorJason Lowe-Power <jason@lowepower.com>
Fri, 9 Mar 2018 22:29:39 +0000 (14:29 -0800)
committerJason Lowe-Power <jason@lowepower.com>
Thu, 15 Mar 2018 20:45:34 +0000 (20:45 +0000)
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>

src/arch/x86/linux/process.cc

index b3e95867711049d3f88932d4bf5925af1fa9f901..1bde67e4d93223b64aeec48b672e4ce48caceb32 100644 (file)
@@ -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),