1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/smbd
Jeremy Allison 6e0680ce07 s3: smbd: Allow check_parent_exists() to return the errno from STAT/LSTAT on the parent name.
Not yet used.

This will allow us to avoid an duplicate STAT/LSTAT system call
on the parent pathname in a hot code path of the caller in the next commit.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
2021-05-11 22:08:36 +00:00
..
notifyd smbd: Fix the 32-bit build on FreeBSD 2020-11-30 22:24:38 +00:00
aio.c smbd: use fh_[get|set]_pos() and fh_[get|set]_position_information() 2020-12-16 09:08:30 +00:00
avahi_register.c
blocking.c locking: Make share_mode_watch_send() take "share_mode_lock" 2020-11-10 19:49:34 +00:00
close.c s3/smbd: close vfs_streaminfo->vfs_fstreaminfo 2021-05-11 15:49:28 +00:00
conn_idle.c smbd: In conn_force_tdis_done() when forcing a connection closed force a full reload of services. 2021-01-28 07:03:30 +00:00
conn_msg.c smbd: Add close-denied-share message 2020-01-15 21:25:35 +00:00
conn.c s3: smbd: Factor out setting up case parameters for a share to a function - conn_setup_case_options(). 2021-01-13 17:02:34 +00:00
connection.c
dfree.c
dir.c smbd: don't return NT_STATUS_STOPPED_ON_SYMLINK in openat_pathref_fsp() 2021-02-05 06:22:35 +00:00
dmapi.c
dnsregister.c
dosmode.c s3: smbd: Use SMB_VFS_FNTIMES() instead of SMB_VFS_NTIMES() 2021-04-19 12:28:30 +00:00
durable.c s3: smbd: Pass full fsp to file_ntimes() 2021-04-19 12:28:30 +00:00
error.c
fake_file.c smbd: use fh_[get|set]_pos() and fh_[get|set]_position_information() 2020-12-16 09:08:30 +00:00
fd_handle_private.h vfs: make struct fd_handle private 2020-12-16 09:08:30 +00:00
fd_handle.c vfs: make struct fd_handle private 2020-12-16 09:08:30 +00:00
fd_handle.h smbd: add fd_handle.[c|h] 2020-12-16 09:08:30 +00:00
file_access.c s3: smbd: Change SMB_VFS_GET_NT_ACL() -> SMB_VFS_GET_NT_ACL_AT() in directory_has_default_acl(). 2020-05-07 19:27:36 +00:00
fileio.c smbd: use fdos_mode() in mark_file_modified() 2020-12-16 09:08:31 +00:00
filename.c s3: smbd: Allow check_parent_exists() to return the errno from STAT/LSTAT on the parent name. 2021-05-11 22:08:36 +00:00
files.c s3: smbd: Fix parent_pathref() to cope with symlink parents. 2021-04-07 15:39:45 +00:00
globals.c smbd: let smbd_request_guid() use smb1req->xconn->channel_id 2021-03-06 02:20:05 +00:00
globals.h smbd: SMB2 Compound related chain handling when generation of FileId has failed 2021-04-08 17:30:50 +00:00
ipc.c
lanman.c printing: Move rap2jobid functions to their own file 2021-03-16 17:09:31 +00:00
mangle_hash2.c
mangle_hash.c
mangle.c
message.c
msdfs.c smbd: use real dirfsp for SMB_VFS_UNLINKAT() in remove_msdfs_link() 2021-01-28 08:11:49 +00:00
negprot.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
notify_fam.c
notify_inotify.c smbd: Align two integer types 2020-11-04 18:55:39 +00:00
notify_msg.c notifyd: Factor out notify_walk() into its own file 2020-10-24 05:57:31 +00:00
notify.c smbd/notify: add option "honor change notify privilege" 2020-12-17 15:01:53 +00:00
ntquotas.c smbd: add twrp arg to synthetic_smb_fname() 2020-05-05 19:18:40 +00:00
nttrans.c s3/smbd: ntrans: vfs_streaminfo -> vfs_fstreaminfo 2021-05-11 15:49:28 +00:00
open.c s3/smbd: open: vfs_streaminfo -> vfs_fstreaminfo 2021-05-11 15:49:28 +00:00
oplock_linux.c smbd: use fh_[get|set]_gen_id() 2020-12-16 09:08:30 +00:00
oplock.c smbd: use fh_[get|set]_gen_id() 2020-12-16 09:08:30 +00:00
password.c smbd: RIP user_struct 2020-01-13 21:09:01 +00:00
perfcount.c
pipes.c smbd: use fsp_set_fd() 2020-12-16 09:08:30 +00:00
posix_acls.c s3/smbd: posix_acls SMB_VFS_SETXATTR -> SMB_VFS_FSETXATTR 2021-03-11 17:50:30 +00:00
process.c smbd: introduce a smbXsrv_connection_destructor() 2021-03-06 02:20:05 +00:00
proto.h s3: Remove vfs_streaminfo function 2021-05-11 15:49:28 +00:00
pysmbd.c s3:pysmbd: fix fd leak in py_smbd_create_file() 2021-02-10 14:00:32 +00:00
quotas.c
reply.c s3: smbd: SMB1 SMBsplwr doesn't send a reply packet on success. 2021-04-29 21:27:58 +00:00
scavenger.c smbd: Use share_mode_servicepath() in scavenger.c 2020-11-10 19:49:35 +00:00
scavenger.h
seal.c
sec_ctx.c
server_exit.c lib: give global_contexts.c its own header file 2021-01-08 20:31:33 +00:00
server_reload.c printing: Introduce printer_list_printername_exists() 2021-03-16 17:09:31 +00:00
server.c s3: Remove --log-stdout from daemons 2021-04-29 03:58:37 +00:00
service.c s3: smbd: Factor out setting up case parameters for a share to a function - conn_setup_case_options(). 2021-01-13 17:02:34 +00:00
session.c
sesssetup.c smbd: Fix a typo 2021-04-19 18:18:31 +00:00
share_access.c s3:smbd: Remove NIS support 2021-04-22 17:57:30 +00:00
signing.c
smb1_utils.c smbd: add need_fsa arg and logic to file_find_di_(first|next) 2020-12-16 09:08:31 +00:00
smb1_utils.h lib: Move send_keepalive() to smbd/smb1_utils.c 2020-08-17 19:35:37 +00:00
smb2_break.c s3:smbd: pass down smbXsrv_client to smbd_smb2_send_{oplock,lease}_break() 2020-07-08 15:54:40 +00:00
smb2_close.c smbd: don't return NT_STATUS_STOPPED_ON_SYMLINK in openat_pathref_fsp() 2021-02-05 06:22:35 +00:00
smb2_create.c smbd: SMB2 Compound related chain handling when generation of FileId has failed 2021-04-08 17:30:50 +00:00
smb2_flush.c smbd: use fsp_get_io_fd() when accessing a file or it's associated metadata 2020-12-16 09:08:30 +00:00
smb2_getinfo.c smbd: use fsp_get_pathref_fd() for fstat() calls 2020-12-16 09:08:30 +00:00
smb2_glue.c s3:smbd: implement FSCTL_SMBTORTURE_FORCE_UNACKED_TIMEOUT 2020-07-08 15:54:40 +00:00
smb2_ioctl_dfs.c
smb2_ioctl_filesys.c vfs: SMB_VFS_GET_COMPRESSION() -> SMB_VFS_FGET_COMPRESSION() 2020-12-16 09:08:32 +00:00
smb2_ioctl_named_pipe.c
smb2_ioctl_network_fs.c smbd: Align integer types 2020-11-10 19:49:33 +00:00
smb2_ioctl_private.h smbd: implement FSCTL_SMBTORTURE_IOCTL_RESPONSE_BODY_PADDING8 as reproducer for bug 14607 2021-01-15 07:26:29 +00:00
smb2_ioctl.c smbd: implement FSCTL_SMBTORTURE_IOCTL_RESPONSE_BODY_PADDING8 as reproducer for bug 14607 2021-01-15 07:26:29 +00:00
smb2_keepalive.c
smb2_lock.c locking: Make share_mode_watch_send() take "share_mode_lock" 2020-11-10 19:49:34 +00:00
smb2_negprot.c smb2_negotiate: maintain xconn->smb2.server.sign_algo 2021-03-17 00:49:32 +00:00
smb2_notify.c smbd: Use NT_STATUS_NOTIFY_ENUM_DIR instead of STATUS_NOTIFY_ENUM_DIR 2020-06-22 12:07:38 +00:00
smb2_query_directory.c smbd: pass a dirfsp to fd_open() and rename it to fd_openat() 2020-12-16 09:08:30 +00:00
smb2_read.c s3:smbd: add smbd_smb2_send_queue.sendfile_body_size 2020-07-08 15:54:40 +00:00
smb2_server.c smbd: SMB2 Compound related chain handling when generation of FileId has failed 2021-04-08 17:30:50 +00:00
smb2_sesssetup.c smb2_sesssetup: validate that sign_algo and encryption_cipher match on a session bind 2021-03-17 01:56:37 +00:00
smb2_setinfo.c s3: smbd: fix deferred renames 2021-03-31 06:13:39 +00:00
smb2_tcon.c smb2_tcon: also try to cancel pending compound requests on tdis 2021-03-29 20:43:28 +00:00
smb2_write.c s3:smbd - support streams larger than 64 KiB 2021-05-10 20:16:21 +00:00
smbd_cleanupd.c
smbd_cleanupd.h
smbd.h smbd: add fd_handle.[c|h] 2020-12-16 09:08:30 +00:00
smbXsrv_client.c smbXsrv_client: move the connection passing to smb2srv_client_mc_negprot_send/recv 2021-03-06 03:30:06 +00:00
smbXsrv_open.c Fix gcc11 compiler issue "-Werror=maybe-uninitialized" 2021-05-07 06:23:32 +00:00
smbXsrv_session.c smbXsrv_session: always cancel pending requests in smb2srv_session_shutdown_send() in the same way 2021-03-29 19:36:37 +00:00
smbXsrv_tcon.c smbXsrv_tcon: explicitly set tcon->db_rec = NULL after tcon->db_rec = local_rec 2021-03-06 02:20:05 +00:00
smbXsrv_version.c
srvstr.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
statcache.c smbd: strip @GMT token in canonicalize_snapshot_path() 2020-05-05 19:18:43 +00:00
statvfs.c
trans2.c s3/smbd: trans2: vfs_streaminfo -> vfs_fstreaminfo 2021-05-11 15:49:28 +00:00
uid.c smbd: call set_current_user_info() in smbd_become_authenticated_pipe_user() 2021-03-12 00:54:01 +00:00
utmp.c
vfs.c s3: VFS: Remove SMB_VFS_STREAMINFO(), no longer used 2021-05-11 15:49:28 +00:00