From ac63b7e294df2cec1c99f374acc18dd63f2a2c7a Mon Sep 17 00:00:00 2001 From: Giacomo Travaglini Date: Mon, 27 Sep 2021 18:03:10 +0100 Subject: [PATCH] arch-arm: Add fchownat implementation to the Syscall Table Change-Id: If2e05b84064886bd924348930a151c7c00877c38 Signed-off-by: Giacomo Travaglini Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/51052 Reviewed-by: Bobby R. Bruce Reviewed-by: Richard Cooper Maintainer: Bobby R. Bruce Tested-by: kokoro --- src/arch/arm/linux/se_workload.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/arm/linux/se_workload.cc b/src/arch/arm/linux/se_workload.cc index c70dda0f67..fdbdbef387 100644 --- a/src/arch/arm/linux/se_workload.cc +++ b/src/arch/arm/linux/se_workload.cc @@ -447,7 +447,7 @@ class SyscallTable32 : public SyscallDescTable { base + 322, "openat", openatFunc }, { base + 323, "mkdirat" }, { base + 324, "mknodat" }, - { base + 325, "fchownat" }, + { base + 325, "fchownat", fchownatFunc }, { base + 326, "futimesat" }, { base + 327, "fstatat64" }, { base + 328, "unlinkat", unlinkatFunc }, @@ -552,7 +552,7 @@ class SyscallTable64 : public SyscallDescTable { base + 51, "chroot" }, { base + 52, "fchmod" }, { base + 53, "fchmodat" }, - { base + 54, "fchownat" }, + { base + 54, "fchownat", fchownatFunc }, { base + 55, "fchown", fchownFunc }, { base + 56, "openat", openatFunc }, { base + 57, "close", closeFunc },