diff options
author | Ciro Santilli <ciro.santilli@arm.com> | 2018-09-26 14:43:25 +0100 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@arm.com> | 2018-10-29 15:14:30 +0000 |
commit | 8162e0da0285d346046151b2a45ceeb1baf63b8f (patch) | |
tree | 8507866ddf3b7e6c0ef89b1aed8cee9bffb21c87 /src/arch | |
parent | e70a2a53ebac09ba5aacf706066589510c624c13 (diff) | |
download | gem5-8162e0da0285d346046151b2a45ceeb1baf63b8f.tar.xz |
syscall_emul: implement arm openat
This is especially important because the Ubuntu 18.04 packaged
arm-linux-gnueabihf-gcc uses the system call on the program initialization,
which leads all programs to fail with:
fatal: syscall openat (#322) unimplemented.
Change-Id: I5596162ad19644df7b6d21f2a46acc07030001ae
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/13004
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/arm/linux/process.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/linux/process.cc b/src/arch/arm/linux/process.cc index c01dece11..2c64a46ca 100644 --- a/src/arch/arm/linux/process.cc +++ b/src/arch/arm/linux/process.cc @@ -443,7 +443,7 @@ static SyscallDesc syscallDescs32[] = { /* 319 */ SyscallDesc("mbind", unimplementedFunc), /* 320 */ SyscallDesc("get_mempolicy", unimplementedFunc), /* 321 */ SyscallDesc("set_mempolicy", unimplementedFunc), - /* 322 */ SyscallDesc("openat", unimplementedFunc), + /* 322 */ SyscallDesc("openat", openatFunc<ArmLinux32>), /* 323 */ SyscallDesc("mkdirat", unimplementedFunc), /* 324 */ SyscallDesc("mknodat", unimplementedFunc), /* 325 */ SyscallDesc("fchownat", unimplementedFunc), |