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:27:15 +0000 (18:27 +0000)
commitcc0416f19b2dfdf95d8998ad1d645842e93c6082
tree63e479296148d3c0f359802618f2d1ae19a6cce7
parent26d47c66354ac390f67e6c6c99397d0e9cafcbf2
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