nfs4_acls: Implement fstat with DAC_CAP_OVERRIDE
commit05f1ee1ae2d8439af0ac9baf64ebba1a3374ea83
authorChristof Schmitt <cs@samba.org>
Thu, 9 Nov 2023 19:01:56 +0000 (9 12:01 -0700)
committerBjoern Jacke <bjacke@samba.org>
Wed, 15 Nov 2023 18:54:11 +0000 (15 18:54 +0000)
tree599f4c2c28daffb1206dc1b5aeda65786c662561
parent9898ca65e936c3f91578b1a24b91ea9243da4b1c
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>
source3/modules/nfs4_acls.c
source3/modules/nfs4_acls.h
source3/modules/vfs_gpfs.c