arch-arm: Add fchmodat implementation to the Syscall Table

Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Change-Id: I6ce4770aea0456423cf5a37171fbd8e4469b3e98
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/51748
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
This commit is contained in:
Giacomo Travaglini
2021-10-13 09:22:20 +01:00
parent 16253e494e
commit 309e48c0cb

View File

@@ -455,7 +455,7 @@ class SyscallTable32 : public SyscallDescTable<EmuLinux::SyscallABI32>
{ base + 330, "linkat" },
{ base + 331, "symlinkat" },
{ base + 332, "readlinkat", readlinkatFunc<ArmLinux32> },
{ base + 333, "fchmodat" },
{ base + 333, "fchmodat", fchmodatFunc<ArmLinux32> },
{ base + 334, "faccessat", faccessatFunc<ArmLinux32> },
{ base + 335, "pselect6" },
{ base + 336, "ppoll" },
@@ -551,7 +551,7 @@ class SyscallTable64 : public SyscallDescTable<EmuLinux::SyscallABI64>
{ base + 50, "fchdir" },
{ base + 51, "chroot" },
{ base + 52, "fchmod" },
{ base + 53, "fchmodat" },
{ base + 53, "fchmodat", fchmodatFunc<ArmLinux64> },
{ base + 54, "fchownat", fchownatFunc<ArmLinux64> },
{ base + 55, "fchown", fchownFunc },
{ base + 56, "openat", openatFunc<ArmLinux64> },