arch-arm: Add fchownat implementation to the Syscall Table

Change-Id: If2e05b84064886bd924348930a151c7c00877c38
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/51052
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Reviewed-by: Richard Cooper <richard.cooper@arm.com>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Giacomo Travaglini
2021-09-27 18:03:10 +01:00
parent f9a7196396
commit ac63b7e294

View File

@@ -447,7 +447,7 @@ class SyscallTable32 : public SyscallDescTable<EmuLinux::SyscallABI32>
{ base + 322, "openat", openatFunc<ArmLinux32> },
{ base + 323, "mkdirat" },
{ base + 324, "mknodat" },
{ base + 325, "fchownat" },
{ base + 325, "fchownat", fchownatFunc<ArmLinux32> },
{ base + 326, "futimesat" },
{ base + 327, "fstatat64" },
{ base + 328, "unlinkat", unlinkatFunc<ArmLinux32> },
@@ -552,7 +552,7 @@ class SyscallTable64 : public SyscallDescTable<EmuLinux::SyscallABI64>
{ base + 51, "chroot" },
{ base + 52, "fchmod" },
{ base + 53, "fchmodat" },
{ base + 54, "fchownat" },
{ base + 54, "fchownat", fchownatFunc<ArmLinux64> },
{ base + 55, "fchown", fchownFunc },
{ base + 56, "openat", openatFunc<ArmLinux64> },
{ base + 57, "close", closeFunc },