From: Tony Gutierrez Date: Tue, 1 May 2018 22:30:07 +0000 (-0400) Subject: arch-x86: Enable the umask system call X-Git-Tag: v19.0.0.0~2138 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a6b76272c52cd85faa99269f0cfa0bcbd0149e0;p=gem5.git arch-x86: Enable the umask system call Change-Id: I309beb1604657e8d1807ac90458709df57f0f819 Reviewed-on: https://gem5-review.googlesource.com/10161 Reviewed-by: Gabe Black Reviewed-by: Jason Lowe-Power Maintainer: Brandon Potter --- diff --git a/src/arch/x86/linux/process.cc b/src/arch/x86/linux/process.cc index 1bde67e4d..d464beb91 100644 --- a/src/arch/x86/linux/process.cc +++ b/src/arch/x86/linux/process.cc @@ -315,7 +315,7 @@ static SyscallDesc syscallDescs64[] = { /* 92 */ SyscallDesc("chown", unimplementedFunc), /* 93 */ SyscallDesc("fchown", unimplementedFunc), /* 94 */ SyscallDesc("lchown", unimplementedFunc), - /* 95 */ SyscallDesc("umask", unimplementedFunc), + /* 95 */ SyscallDesc("umask", umaskFunc), /* 96 */ SyscallDesc("gettimeofday", gettimeofdayFunc), /* 97 */ SyscallDesc("getrlimit", getrlimitFunc), /* 98 */ SyscallDesc("getrusage", getrusageFunc), @@ -609,7 +609,7 @@ static SyscallDesc syscallDescs32[] = { /* 57 */ SyscallDesc("setpgid", setpgidFunc), /* 58 */ SyscallDesc("ulimit", unimplementedFunc), /* 59 */ SyscallDesc("oldolduname", unimplementedFunc), - /* 60 */ SyscallDesc("umask", unimplementedFunc), + /* 60 */ SyscallDesc("umask", umaskFunc), /* 61 */ SyscallDesc("chroot", unimplementedFunc), /* 62 */ SyscallDesc("ustat", unimplementedFunc), /* 63 */ SyscallDesc("dup2", dup2Func),