mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
vfs: add struct connection_struct flag "have_proc_fds"
Allows the VFS layer to tell the higher layers if fds opened by the openat() VFS implementation are visible objects inside a /proc/PID/fd/FD filesystem. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
1d35fc7f54
commit
1f94c3ee7b
@ -335,6 +335,7 @@
|
||||
* prevents that encrypted connections can be downgraded.
|
||||
* Version 44 - Add a flag 'is_pathref' to struct files_struct.
|
||||
* Version 44 - Add 'is_fsa' flag to struct files_struct.
|
||||
* Version 44 - Add 'have_proc_fds' flag to struct connection_struct.
|
||||
*/
|
||||
|
||||
#define SMB_VFS_INTERFACE_VERSION 44
|
||||
@ -674,6 +675,7 @@ typedef struct connection_struct {
|
||||
bool printer;
|
||||
bool ipc;
|
||||
bool read_only; /* Attributes for the current user of the share. */
|
||||
bool have_proc_fds;
|
||||
uint32_t share_access;
|
||||
/* Does this filesystem honor
|
||||
sub second timestamps on files
|
||||
|
Loading…
x
Reference in New Issue
Block a user