[SCM] Samba Shared Repository - branch v4-16-test updated
Jule Anger
janger at samba.org
Mon May 2 08:24:01 UTC 2022
The branch, v4-16-test has been updated
via 09b07aec702 vfs_gpfs: Ignore pathref fds for gpfs:recalls check
from 82d86282ca6 s4:kdc: strictly have 2 16-bit parts in krbtgt kvnos
https://git.samba.org/?p=samba.git;a=shortlog;h=v4-16-test
- Log -----------------------------------------------------------------
commit 09b07aec70265812d4628097b8df3eec68294a16
Author: Christof Schmitt <cs at samba.org>
Date: Wed Apr 27 15:37:18 2022 -0700
vfs_gpfs: Ignore pathref fds for gpfs:recalls check
Setting gpfs:recalls=no should prevent data access to offline files.
Since Samba 4.14, the VFS openat function is also called with O_PATH to
get a reference to the path. These accesses should not be blocked,
otherwise this would prevent offline files from being included in
directory listings.
Fix this by skipping the check for pathref fds.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15055
Signed-off-by: Christof Schmitt <cs at samba.org>
Reviewed-by: Ralph Boehme <slow at samba.org>
Autobuild-User(master): Ralph Böhme <slow at samba.org>
Autobuild-Date(master): Thu Apr 28 07:59:47 UTC 2022 on sn-devel-184
(cherry picked from commit 03d0dd2651c9e6552d6c3d9513810e581339ac08)
Autobuild-User(v4-16-test): Jule Anger <janger at samba.org>
Autobuild-Date(v4-16-test): Mon May 2 08:23:01 UTC 2022 on sn-devel-184
-----------------------------------------------------------------------
Summary of changes:
source3/modules/vfs_gpfs.c | 1 +
1 file changed, 1 insertion(+)
Changeset truncated at 500 lines:
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c
index 7642c647afb..e6b2a5d142b 100644
--- a/source3/modules/vfs_gpfs.c
+++ b/source3/modules/vfs_gpfs.c
@@ -2370,6 +2370,7 @@ static int vfs_gpfs_openat(struct vfs_handle_struct *handle,
return -1);
if (config->hsm && !config->recalls &&
+ !fsp->fsp_flags.is_pathref &&
vfs_gpfs_fsp_is_offline(handle, fsp))
{
DBG_DEBUG("Refusing access to offline file %s\n",
--
Samba Shared Repository
More information about the samba-cvs
mailing list