1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/smbd
Volker Lendecke 02f6130c90 vfs: Add SMB_VFS_GET_REAL_FILENAME_AT
In a patchset that I'm working on right now there's the need to call
getrealfilename while the code does have a pathref fsp already
around. Doing the name-based call including non_widelink_open is not
necessary in this case. Start by adding the _at based call to the VFS.

For now, fall back to the name-based call. glusterfs-fuse will in a
future patch be converted to fgetxattr.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
2022-04-28 13:12:33 +00:00
..
notifyd lib;smbd: Fix the -Os build by initializing variables 2021-08-06 17:22:30 +00:00
avahi_register.c
blocking.c s3: smbd: Remove lock_flav argument from smbd_smb1_brl_finish_by_lock(). 2022-01-06 15:11:38 +00:00
close.c s3: smbd: Cleanup - Make rmdir_internals() use NTSTATUS internally without depending on errno. 2022-03-04 18:39:48 +00:00
conn_idle.c s3:rpc_server: Activate samba-dcerpcd 2021-12-10 14:02:30 +00:00
conn_msg.c
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 smbd: Save a few lines with str_list_add_printf() 2022-01-18 20:22:38 +00:00
dir.c smbd: expand DEBUG statement in smbd_dirptr_get_entry() to include the dir and direntry name 2022-03-25 19:05:06 +00:00
dmapi.c
dnsregister.c
dosmode.c smbd: remove itime and file_id logic and code 2022-03-31 23:01:37 +00:00
durable.c smbd: Use fsp_is_alternate_stream() where an fsp is available 2022-02-11 20:54:37 +00:00
error.c s3: smbd: Rename reply_outbuf() -> reply_smb1_outbuf(). 2022-04-07 17:37:30 +00:00
fake_file.c smbd: Move the call to file_free() out of close_fake_file() 2022-02-10 18:16:36 +00:00
fd_handle.c smbd: fd_handle.h does not need includes.h 2022-04-26 21:41:29 +00:00
fd_handle.h smbd: fd_handle.h does not need includes.h 2022-04-26 21:41:29 +00:00
file_access.c smbd: Use fsp_is_alternate_stream() where an fsp is available 2022-02-11 20:54:37 +00:00
fileio.c smbd: use fdos_mode() in mark_file_modified() 2020-12-16 09:08:31 +00:00
filename.c vfs: Convert get_real_filename() to NTSTATUS 2022-03-10 18:23:36 +00:00
files.c smbd: Pass up stat-info from openat_pathref_fsp() on error 2022-04-28 13:12:33 +00:00
globals.c smbd: let smbd_request_guid() use smb1req->xconn->channel_id 2021-03-06 02:20:05 +00:00
globals.h configure: Add option for disabling the smb1 server 2022-04-07 17:37:30 +00:00
mangle_hash2.c smbd: Use ISDOT/ISDOTDOT 2022-02-17 17:13:35 +00:00
mangle_hash.c smbd: Move fast_string_hash() to mangle_hash.c, the only user 2022-01-05 00:11:37 +00:00
mangle.c
msdfs.c s3: smbd: Rename OpenDir_ntstatus() -> OpenDir(). 2022-03-02 21:58:32 +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 s3: smbd: notify_mid_maps is used by both SMB1 and SMB2. 2022-03-08 22:12:37 +00:00
ntquotas.c smbd: add twrp arg to synthetic_smb_fname() 2020-05-05 19:18:40 +00:00
open.c smbd: Pass up stat-info from openat_pathref_fsp() on error 2022-04-28 13:12:33 +00:00
oplock_linux.c lib;smbd: Fix the -Os build by initializing variables 2021-08-06 17:22:30 +00:00
password.c
perfcount.c
posix_acls.c smbd: get_acl_group_bits() needs a fsp, not a name 2022-03-11 18:22:28 +00:00
proto.h smbd: Remove unused arguments from dup_file_fsp() 2022-04-26 21:41:29 +00:00
pysmbd.c s3: pysmbd.c: init_files_struct(). All calls to SMB_VFS_FSTAT(fsp, &fsp->fsp_name->st) clobber fsp->fsp_name->st.st_ex_iflags. 2022-03-24 16:28:37 +00:00
quotas.c
scavenger.c smbd: Give smbXsrv_open.c its own header file 2021-11-11 19:08:37 +00:00
scavenger.h
seal.c
sec_ctx.c sec_ctx.c: Fix -Wunused-function warning on macOS 2021-10-13 01:42:35 +00:00
server_exit.c s3:rpc_server: Activate samba-dcerpcd 2021-12-10 14:02:30 +00:00
server_reload.c smbd: check lp_load_printers before reload via NetShareEnum 2021-11-08 13:27:40 +00:00
server.c s3:smbd: handle --build-options without parsing smb.conf 2022-01-17 12:23:33 +00:00
session.c
share_access.c source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
smb1_aio.c s3: smbd: Rename construct_reply_common_req() -> construct_smb1_reply_common_req() 2022-04-07 17:37:30 +00:00
smb1_aio.h smbd: Move schedule_aio_write_and_X to smb1_aio.c 2022-04-07 17:37:29 +00:00
smb1_ipc.c s3: smbd: Rename init_smb_request() -> init_smb1_request(). 2022-04-07 17:37:30 +00:00
smb1_ipc.h smbd: Move ipc.c -> smb1_ipc.c 2022-04-07 17:37:29 +00:00
smb1_lanman.c smbd: Move lanman.c -> smb1_lanman.c 2022-04-07 17:37:29 +00:00
smb1_lanman.h smbd: Move lanman.c -> smb1_lanman.c 2022-04-07 17:37:29 +00:00
smb1_message.c s3: smbd: Rename reply_outbuf() -> reply_smb1_outbuf(). 2022-04-07 17:37:30 +00:00
smb1_message.h smbd: Move message.c -> smb1_message.c 2022-04-07 17:37:29 +00:00
smb1_negprot.c s3: smbd: Rename reply_outbuf() -> reply_smb1_outbuf(). 2022-04-07 17:37:30 +00:00
smb1_negprot.h smbd: Move negprot.c -> smb1_negprot.c 2022-04-07 17:37:29 +00:00
smb1_nttrans.c s3: smbd: Rename init_smb_request() -> init_smb1_request(). 2022-04-07 17:37:30 +00:00
smb1_nttrans.h smbd: Remove duplicate read_nttrans_ea_list function prototype 2022-04-07 17:37:30 +00:00
smb1_oplock.c s3: smbd: Rename srv_set_message() -> srv_smb1_set_message(). 2022-04-07 17:37:30 +00:00
smb1_oplock.h smbd: Move send_break_message_smb1 to smb1_oplock.c 2022-04-07 17:37:29 +00:00
smb1_pipes.c s3: smbd: Rename reply_outbuf() -> reply_smb1_outbuf(). 2022-04-07 17:37:30 +00:00
smb1_pipes.h smbd: Move reply_pipe_write to smb1_pipes.c 2022-04-07 17:37:30 +00:00
smb1_process.c s3: smbd: Rename init_smb_request() -> init_smb1_request(). 2022-04-07 17:37:30 +00:00
smb1_process.h smbd: Move valid_smb_header to smb2_process.c 2022-04-07 17:37:30 +00:00
smb1_reply.c s3: smbd: Rename reply_outbuf() -> reply_smb1_outbuf(). 2022-04-07 17:37:30 +00:00
smb1_reply.h s3: smbd: Move reply_findnclose() from trans2.c to smb1_reply.c 2022-04-07 17:37:30 +00:00
smb1_service.c smbd: Move make_connection to smb1_service.c 2022-04-07 17:37:29 +00:00
smb1_service.h smbd: Move make_connection to smb1_service.c 2022-04-07 17:37:29 +00:00
smb1_sesssetup.c s3: smbd: Rename reply_outbuf() -> reply_smb1_outbuf(). 2022-04-07 17:37:30 +00:00
smb1_sesssetup.h smbd: Move sesssetup.c -> smb1_sesssetup.c 2022-04-07 17:37:29 +00:00
smb1_signing.c smbd: Move signing.c -> smb1_signing.c 2022-04-07 17:37:29 +00:00
smb1_signing.h smbd: Move signing.c -> smb1_signing.c 2022-04-07 17:37:29 +00:00
smb1_trans2.c smbd: Slightly simplify call_trans2qpipeinfo() 2022-04-26 22:38:59 +00:00
smb1_trans2.h smbd: Move reply_transs2 to smb1_trans2.c 2022-04-07 17:37:30 +00:00
smb1_utils.c smbd: Remove unused arguments from dup_file_fsp() 2022-04-26 21:41:29 +00:00
smb1_utils.h lib: Move send_keepalive() to smbd/smb1_utils.c 2020-08-17 19:35:37 +00:00
smb2_aio.c smbd: Move aio.c -> smb2_aio.c 2022-04-07 17:37:29 +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: NULL out "fsp" in close_file() 2022-02-10 18:16:36 +00:00
smb2_create.c smbd: Remove duplicate read_nttrans_ea_list function prototype 2022-04-07 17:37:30 +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 s3: smbd: smbd_smb2_getinfo_send(). All calls to SMB_VFS_FSTAT(fsp, &fsp->fsp_name->st) clobber fsp->fsp_name->st.st_ex_iflags. 2022-03-24 16:28:37 +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 s3: smbd: Move implicit call to lp_posix_cifsu_locktype() out of init_strict_lock_struct(). 2022-01-06 15:11:38 +00:00
smb2_ioctl_named_pipe.c
smb2_ioctl_network_fs.c vfs: Add flags and xferlen args to SMB_VFS_OFFLOAD_READ_RECV 2021-10-08 19:28:32 +00:00
smb2_ioctl_private.h s3: smbd: Split out smb2_ioctl_smbtorture() into a separate file. 2021-08-11 19:16:29 +00:00
smb2_ioctl_smbtorture.c s3: smbd: Call smbd_fsctl_torture_async_sleep() when we get FSCTL_SMBTORTURE_FSP_ASYNC_SLEEP. 2021-08-11 19:16:29 +00:00
smb2_ioctl.c smb2_ioctl: return BUFFER_TOO_SMALL in smbd_smb2_request_ioctl_done() 2021-12-01 11:04:29 +00:00
smb2_ipc.c smbd: Move nt_status_np_pipe to smb2_ipc.c 2022-04-07 17:37:29 +00:00
smb2_keepalive.c
smb2_lock.c s3: smbd: Plumb in POSIX lock requests through SMB2 lock calls if done on a POSIX handle. Currently not allowed. 2022-02-01 16:30:37 +00:00
smb2_negprot.c s3: smbd: Rename reply_outbuf() -> reply_smb1_outbuf(). 2022-04-07 17:37:30 +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_nttrans.c smbd: Move smbd_do_query_getinfo_quota to smb2_nttrans.c 2022-04-07 17:37:29 +00:00
smb2_oplock.c smbd: Move oplock.c -> smb2_oplock.c 2022-04-07 17:37:29 +00:00
smb2_pipes.c smbd: Move reply_pipe_write to smb1_pipes.c 2022-04-07 17:37:30 +00:00
smb2_posix.c s3: smbd: Add two new functions in a new file, smb2_posix.c: smb2_posix_cc_info(), store_smb2_posix_info() 2022-02-01 17:25:45 +00:00
smb2_process.c s3: smbd: Rename init_smb_request() -> init_smb1_request(). 2022-04-07 17:37:30 +00:00
smb2_query_directory.c smbd: remove itime and file_id logic and code 2022-03-31 23:01:37 +00:00
smb2_read.c smbd: Introduce fsp_is_alternate_stream() 2022-02-11 20:54:37 +00:00
smb2_reply.c smbd: Remove uses of srv_send_smb 2022-04-07 17:37:30 +00:00
smb2_server.c smbd: Introduce fsp_is_alternate_stream() 2022-02-11 20:54:37 +00:00
smb2_service.c smbd: Move service.c -> smb2_service.c 2022-04-07 17:37:29 +00:00
smb2_sesssetup.c source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
smb2_setinfo.c s3: smbd: smbd_smb2_setinfo_send(). All calls to SMB_VFS_FSTAT(fsp, &fsp->fsp_name->st) clobber fsp->fsp_name->st.st_ex_iflags. 2022-03-24 17:21:29 +00:00
smb2_signing.c smbd: Disable call to smb1_srv_init_signing without smb1 2022-04-07 17:37:29 +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_trans2.c smbd: Disable SMB_SET_POSIX_LOCK when SMB1 is disabled 2022-04-07 17:37:30 +00:00
smb2_write.c smbd: Use fsp_is_alternate_stream() where an fsp is available 2022-02-11 20:54:37 +00:00
smbd_cleanupd.c
smbd_cleanupd.h
smbd.h smbd: Move send_trans2_replies to smb1_trans2.c 2022-04-07 17:37: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 smbd: Give smbXsrv_open.c its own header file 2021-11-11 19:08:37 +00:00
smbXsrv_open.h smbd: Give smbXsrv_open.c its own header file 2021-11-11 19:08:37 +00:00
smbXsrv_session.c s3:smbd: make sure smbXsrv_session_update() doesn't segfault with table == NULL 2021-07-15 00:06:31 +00:00
smbXsrv_tcon.c smbXsrv_{open,session,tcon}: protect smbXsrv_{open,session,tcon}_global_traverse_fn against invalid records 2021-07-06 11:08:43 +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: Fix a typo 2022-03-01 20:09:29 +00:00
statvfs.c
uid.c source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
utmp.c
vfs.c vfs: Add SMB_VFS_GET_REAL_FILENAME_AT 2022-04-28 13:12:33 +00:00