nfs4_acls: Implement fstat with DAC_CAP_OVERRIDE
authorChristof Schmitt <cs@samba.org>
Thu, 9 Nov 2023 19:01:56 +0000 (12:01 -0700)
committerJule Anger <janger@samba.org>
Sat, 25 Nov 2023 18:28:13 +0000 (18:28 +0000)
commitf00db2a13b71c9cc4915385eb095ca865afdceef
treec7c17795a2630b2a87601bfd42c9ec8765ff66bd
parent619eb761344c8473042136555c7d85a76cd84b05
nfs4_acls: Implement fstat with DAC_CAP_OVERRIDE

AT_EMTPY_PATH does not exist on AIX. Address this by implementing an
override for fstat.  Implement the new override function in nfs4_acls.c
since all stat functions with DAC_CAP_OVERRIDE will be moved there to
allow reuse by other filesystems.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15507

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Björn Jacke <bjacke@samba.org>
(cherry picked from commit 05f1ee1ae2d8439af0ac9baf64ebba1a3374ea83)
source3/modules/nfs4_acls.c
source3/modules/nfs4_acls.h
source3/modules/vfs_gpfs.c