s3: VFS: fruit: In the fruit handle->fruit_config_data, add a recursion guard we...
commitb2d6ed290611e11150c5383edb18046ef1f58569
authorJeremy Allison <jra@samba.org>
Fri, 2 Jul 2021 20:40:39 +0000 (2 13:40 -0700)
committerJeremy Allison <jra@samba.org>
Sun, 4 Jul 2021 17:15:34 +0000 (4 17:15 +0000)
treeec9a6feded0895fd8f7a2983cb9b44d34a5d0662
parent342086d773cbd85c1683ab9fcb1a9c2b225c890f
s3: VFS: fruit: In the fruit handle->fruit_config_data, add a recursion guard we will set before calling openat_pathref_fsp().

Not yet used.

Same technique as used to prevent recursion in stat calls in vfs_fake_acls.c
This will go away once SMB_VFS_STATX() is added and we can select exactly
what fields we are calling stat() to get.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_fruit.c