arch-arm: Add fchown implementation to the Syscall Table
Change-Id: I4696e305383492e3bf3cf079ffb68eac24f6a19d Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/51051 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:
@@ -226,7 +226,7 @@ class SyscallTable32 : public SyscallDescTable<EmuLinux::SyscallABI32>
|
||||
{ base + 92, "truncate", truncateFunc },
|
||||
{ base + 93, "ftruncate", ftruncateFunc },
|
||||
{ base + 94, "fchmod" },
|
||||
{ base + 95, "fchown" },
|
||||
{ base + 95, "fchown", fchownFunc },
|
||||
{ base + 96, "getpriority" },
|
||||
{ base + 97, "setpriority" },
|
||||
{ base + 99, "statfs" },
|
||||
@@ -330,7 +330,7 @@ class SyscallTable32 : public SyscallDescTable<EmuLinux::SyscallABI32>
|
||||
{ base + 204, "setregid" },
|
||||
{ base + 205, "getgroups" },
|
||||
{ base + 206, "setgroups" },
|
||||
{ base + 207, "fchown" },
|
||||
{ base + 207, "fchown", fchownFunc },
|
||||
{ base + 208, "setresuid" },
|
||||
{ base + 209, "getresuid" },
|
||||
{ base + 210, "setresgid" },
|
||||
@@ -553,7 +553,7 @@ class SyscallTable64 : public SyscallDescTable<EmuLinux::SyscallABI64>
|
||||
{ base + 52, "fchmod" },
|
||||
{ base + 53, "fchmodat" },
|
||||
{ base + 54, "fchownat" },
|
||||
{ base + 55, "fchown" },
|
||||
{ base + 55, "fchown", fchownFunc },
|
||||
{ base + 56, "openat", openatFunc<ArmLinux64> },
|
||||
{ base + 57, "close", closeFunc },
|
||||
{ base + 58, "vhangup" },
|
||||
|
||||
Reference in New Issue
Block a user