1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
samba-mirror/source3/smbd
Volker Lendecke b3d533aa58 smbd: Add "lock_flav" to smbd_do_unlocking()
The next commits will pass all direct "do_unlock" calls through
smbd_do_unlocking(). Why? Unlocking will later on require that we take
the share mode lock for the file in question while the unlock is
happening, and this should be in one central place.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2019-06-20 17:18:17 +00:00
..
notifyd notifyd: Fix SIGBUS on sparc 2019-02-22 12:30:10 +01:00
aio.c Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
avahi_register.c s3-smbd: use fruit:model string for mDNS registration 2019-01-15 21:27:20 +01:00
blocking.c smbd: Fix a typo 2019-06-18 12:54:01 +00:00
close.c s3: smbd: Prevent valgrind errors in smbtorture3 POSIX test. 2018-09-29 05:32:41 +02:00
conn_idle.c smbd: Move deadtime default to parameter definition and man page 2019-05-01 03:12:07 +00:00
conn_msg.c
conn.c Revert "smbd: add an effective connection_struct->user_ev_ctx that holds the event context used for the current user" 2019-01-11 23:11:16 +01:00
connection.c smbd: Remove some unused includes 2019-04-11 23:35:15 +00:00
dfree.c s3: smbd: Convert dfree code to use file_lines_ploadv(). 2019-05-24 19:00:05 +00:00
dir.c smbd: Add "hide new files" option 2018-11-09 00:47:22 +01:00
dmapi.c
dnsregister.c
dosmode.c s3:smbd: perform impersonation in dos_mode_at_vfs_get_dosmode_done() 2019-01-14 19:13:15 +01:00
durable.c smbd: Use leases_db in vfs_default_durable_reconnect() 2019-04-14 04:01:32 +00:00
error.c s3:smbd: Fix converity warning with _smb_setlen_large() 2018-05-16 21:30:23 +02:00
fake_file.c
file_access.c s3: Filenames: Add uint32_t flags parameter to synthetic_smb_fname(). 2016-03-24 22:57:16 +01:00
fileio.c smbd: Use a struct initializer 2019-05-03 22:34:16 +00:00
filename.c smbd: allow case insensitive opens of named streams 2019-05-01 17:22:26 +00:00
files.c s3/smbd: cppcheck: Fix ctunullpointer error 2019-05-29 10:10:23 +00:00
globals.c printing: use housekeeping period that matches cache time 2016-04-19 09:37:14 +02:00
globals.h smbd: Add "lock_flav" to smbd_do_unlocking() 2019-06-20 17:18:17 +00:00
ipc.c Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
lanman.c s3:smbd: Use C99 initializer for RAP api_commands 2019-01-28 10:29:23 +01:00
mangle_hash2.c
mangle_hash.c
mangle.c s3/smbd: convert "mangled names" option to an enum 2017-01-09 19:31:20 +01:00
message.c Avoid NULL pointer dereference in SMBsendend handler 2019-03-12 00:42:19 +00:00
msdfs.c Revert "smbd: add smbd_server_connection->raw_ev_ctx pointer" 2019-01-11 23:11:19 +01:00
negprot.c s3/smbd: Server responds incorrectly if no SMB protocol chosen 2018-09-28 08:30:22 +02:00
notify_fam.c smbd: Allow passing notify filter from inotify and fam 2016-07-18 15:14:11 +02:00
notify_inotify.c s3: smbd: inotify_map_mask_to_filter incorrectly indexes an array. 2017-04-28 03:18:23 +02:00
notify_msg.c smbd: remove unused tevent_context argument from notify_init 2018-06-18 08:59:18 +02:00
notify.c smbd: Only remove locks by mid if necessary 2019-06-20 17:18:16 +00:00
ntquotas.c ntquotas: do not set inode limits when setting space quota 2019-02-17 13:33:12 +01:00
nttrans.c smbd: Only remove locks by mid if necessary 2019-06-20 17:18:16 +00:00
open.c smbd: Fix a typo 2019-06-20 17:18:16 +00:00
oplock_linux.c Revert "smbd: explain that/why we use the raw tevent_context for linux_oplock_signal_handler()" 2019-01-11 23:11:17 +01:00
oplock.c smbd: Factor out fsps_lease_update() 2019-05-28 20:27:15 +00:00
password.c s3:smbd: Make sure we do not export "/" (root) as home dir 2018-12-05 01:38:14 +01:00
perfcount.c lib:util: Make probing of modules more secure 2017-06-06 18:36:07 +02:00
pipes.c Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
posix_acls.c smbd: Use dom_sid_str_buf 2018-12-20 23:40:24 +01:00
process.c smbd: Use smb1cli_is_andx_req() 2019-06-18 12:53:59 +00:00
proto.h smbd: Only remove locks by mid if necessary 2019-06-20 17:18:16 +00:00
pysmbd.c s3/smbd: squash 'cast between incompatible function types' warning 2019-05-16 17:55:17 +00:00
quotas.c quotas: remove legacy AIX quota code that is covered by sysquotas now 2019-02-17 13:33:14 +01:00
reply.c smbd: Add "lock_flav" to smbd_do_unlocking() 2019-06-20 17:18:17 +00:00
scavenger.c lib: Remove unused serverid.tdb 2017-12-05 04:58:26 +01:00
scavenger.h
seal.c auth: Always supply both the remote and local address to the auth subsystem 2017-03-29 02:37:26 +02:00
sec_ctx.c s3:smbd: Fix incorrect use of sys_getgroups() 2017-04-18 15:43:02 +02:00
server_exit.c gencache: Remove transaction-based tdb 2018-11-06 18:57:26 +01:00
server_reload.c smbd: remove useless set_current_service(NULL,0,True) from reload_services() 2018-06-18 08:59:17 +02:00
server.c s3:smbd: call reinit_guest_session_info() in the conf updated handler 2019-06-05 15:40:23 +00:00
service.c smbd: Use dom_sid_str_buf 2018-12-20 23:40:24 +01:00
session.c s3:smbd: fix SAFE_FREE() vs. TALLOC_FREE() in list_sessions() 2019-03-28 23:09:33 +00:00
sesssetup.c s3:smbd: Start to use the smb2_signing_key structure 2019-04-30 23:18:28 +00:00
share_access.c smbd: remove redundant comment (with typo) from token_contains_name() 2016-08-04 18:26:07 +02:00
signing.c s3:smbd: Return NTSTATUS for srv_calculate_sign_mac() 2019-05-21 00:03:22 +00:00
smb2_break.c Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
smb2_close.c Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
smb2_create.c smbd: Remove two unnecessary return; statements 2019-03-18 19:21:23 +00:00
smb2_flush.c Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
smb2_getinfo.c smbd: implement SMB_FILE_NORMALIZED_NAME_INFORMATION handling 2019-05-01 18:33:00 +00:00
smb2_glue.c Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
smb2_ioctl_dfs.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_ioctl_filesys.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_ioctl_named_pipe.c Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
smb2_ioctl_network_fs.c smb2_ioctl_network_fs: remove unused fsctl_srv_copychunk_state->aapl_copyfile 2019-03-28 23:09:34 +00:00
smb2_ioctl_private.h
smb2_ioctl.c Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
smb2_keepalive.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_lock.c smbd: Add "lock_flav" to smbd_do_unlocking() 2019-06-20 17:18:17 +00:00
smb2_negprot.c libcli: Pass buf/len to smb2_negotiate_context_add 2019-02-25 21:07:22 +01:00
smb2_notify.c s3:smbd: fix max_buffer handling of initial notify requests 2019-03-29 00:35:39 +00:00
smb2_query_directory.c s3:smbd: perform impersonation in smb2_query_directory_fetch_write_time_done() 2019-01-14 22:30:24 +01:00
smb2_read.c Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
smb2_server.c smbd: Enable "smbd:suicide mode" for smb2 2019-05-22 18:54:24 +00:00
smb2_sesssetup.c s3:smbd: Use GnuTLS SHA512 in smb2 session setup 2019-05-07 03:04:30 +00:00
smb2_setinfo.c smbd: Use share_mode_entry's lease data in delay_rename_for_lease_break() 2019-04-14 04:01:31 +00:00
smb2_tcon.c smb2_tcon: avoid STATUS_PENDING completely on tdis 2019-03-28 23:09:35 +00:00
smb2_write.c s3:smb2_write: add missing initialization of state->in_offset 2019-03-28 23:09:33 +00:00
smbd_cleanupd.c s3:cleanupd: sends MSG_SMB_UNLOCK twice to interested peers 2018-05-04 03:02:27 +02:00
smbd_cleanupd.h
smbd.h s3: smbd: Add UCF_GMT_PATHNAME, which represents FLAGS2_REPARSE_PATH. 2017-05-22 18:41:16 +02:00
smbXsrv_client.c smbd: Replace some GUID_string by GUID_buf_string 2018-10-25 17:58:24 +02:00
smbXsrv_open.c lib: Pass mem_ctx to lock_path() 2018-08-17 11:30:10 +02:00
smbXsrv_session.c s3: Rename server_messaging_context() to global_messaging_context() 2018-09-07 17:26:17 +02:00
smbXsrv_tcon.c s3:smbd: reorder tcon global record deletion and closing files of a tcon 2018-08-31 22:22:23 +02:00
smbXsrv_version.c lib: Pass mem_ctx to lock_path() 2018-08-17 11:30:10 +02:00
srvstr.c s3: smbd: Chain code can return uninitialized memory when talloc buffer is grown. 2017-11-21 19:42:22 +01:00
statcache.c s3: Don't copy back the stat struct from stat_cache_lookup if we did not get a hit on the full path. 2018-09-19 17:52:13 +02:00
statvfs.c statvfs: rename linux_statvfs to posix_statvfs 2019-01-11 02:53:57 +01:00
trans2.c smbd: Simplify smb_set_posix_lock() 2019-06-20 17:18:17 +00:00
uid.c smbd: uid: Don't crash if 'force group' is added to an existing share connection. 2019-01-25 16:31:27 +01:00
utmp.c s3/smbd: fix utmp hostname logging on Solaris 2019-01-10 22:46:11 +01:00
vfs.c vfs: perform impersonation in smb_vfs_call_getxattrat_done() 2019-01-14 19:13:14 +01:00