1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3/smbd
Volker Lendecke a3e211ca3f s3: Attempt to fix bug 7518
If select returns -1, we can't rely on the fd sets. The current code might loop
endlessly because when putting an invalid fd (the closed socket?) on the read
set, a select implementation might choose not to touch it but directly return
with EINVAL. Thus run_events will see the socket readable, which leads to a
"return true", and thus a NT_STATUS_RETRY -> same game again.

We should never get into this situation, but to me the logfiles given in bug
7518 do not reveal enough information to understand how this can happen.
2010-09-28 19:22:50 +02:00
..
aio.c s3: use monotonic clock for aio timeout 2010-09-07 20:29:13 +02:00
avahi_register.c Use avahi to register _smb._tcp in smbd 2009-03-23 17:09:53 +01:00
blocking.c s3: Make srv_send_smb take an sconn instead of a sock fd 2010-08-24 21:06:41 +02:00
close.c s3: Lift smbd_server_conn from file_find_dif 2010-09-28 07:36:16 +02:00
conn.c s3: Fix a segfault in the printer code using create_conn_struct 2010-08-30 23:06:32 +02:00
connection.c s3-build: use dbwrap.h only where needed. 2010-08-26 00:25:55 +02:00
dfree.c
dir.c s3: Simplify (bool != True) to !bool 2010-04-24 10:50:12 +02:00
dmapi.c
dnsregister.c s3:smbd: make mdns registration event driven. 2009-01-27 15:28:11 +01:00
dosmode.c s3: Remove use of iconv_convenience. 2010-05-18 11:45:31 +02:00
error.c Rename reply_doserror() -> reply_force_doserror(). 2009-12-21 11:16:38 -08:00
fake_file.c s3-build: only include "fake_file.h" where needed. 2010-08-26 00:20:28 +02:00
file_access.c s3-security: use shared SECINFO_DACL define. 2010-06-03 11:00:12 +02:00
fileio.c Fix bug #7693 - smbd changing mode of files on rename 2010-09-22 12:26:13 -07:00
filename_util.c s3: Remove debug_ctx() 2009-11-03 11:30:00 +01:00
filename.c Add check missing from previous patch after talloc_strdup(). 2010-09-10 23:33:18 -07:00
files.c s3: Remove some remaining files.c globals to sconn 2010-09-28 07:36:18 +02:00
globals.c s3: Remove some remaining files.c globals to sconn 2010-09-28 07:36:18 +02:00
globals.h s3: Remove some remaining files.c globals to sconn 2010-09-28 07:36:18 +02:00
ipc.c s3: Make srv_send_smb take an sconn instead of a sock fd 2010-08-24 21:06:41 +02:00
lanman.c s3-rpc_server: Moved ncacn_np declarations in common header file. 2010-09-15 12:53:42 +02:00
mangle_hash2.c s3-build: include mangle.h only where needed. 2010-08-26 00:20:29 +02:00
mangle_hash.c s3-build: include mangle.h only where needed. 2010-08-26 00:20:29 +02:00
mangle.c s3-build: include mangle.h only where needed. 2010-08-26 00:20:29 +02:00
message.c s3: Protect against an invalid bcc in SMBsendtxt 2010-01-17 17:26:39 +01:00
msdfs.c s3-msdfs: Make auth_serversupplied_info const. 2010-09-09 16:00:08 +02:00
negprot.c s3: Lift talloc_autofree_context() from make_auth_context_subsystem() 2010-09-26 01:12:37 +02:00
noquotas.c
notify_inotify.c s3: only include gen_ndr headers where needed. 2010-05-06 00:22:59 +02:00
notify_internal.c Change to using TDB_INCOMPATIBLE_HASH (the jenkins hash) on all 2010-09-27 17:18:54 -07:00
notify.c s3-notify: use autogenerated FILE_NOTIFY_INFORMATION marshalling in smbd. 2010-07-07 13:54:57 +02:00
ntquotas.c s3:dom_sid Global replace of DOM_SID with struct dom_sid 2010-05-21 10:39:59 +02:00
nttrans.c Fix all sid_parse returns to be checked. Tidy up some checks and error 2010-09-15 15:40:15 -07:00
open.c s3: Lift smbd_server_conn from file_find_di_first 2010-09-28 07:36:17 +02:00
oplock_irix.c s3: Remove procid_self() from irix_oplocks_read_fde_handler() 2010-07-05 11:06:29 +02:00
oplock_linux.c s3: Lift smbd_server_conn from file_find_fd 2010-09-28 07:36:18 +02:00
oplock_onefs.c Be more forgiving on client oplock break failure (as Windows does). Remove a global. 2010-05-13 11:33:02 -07:00
oplock.c s3: Lift smbd_server_conn from file_find_dif 2010-09-28 07:36:16 +02:00
password.c s3: Remove smbd_server_fd() from session_claim 2010-08-17 22:52:03 +02:00
perfcount.c s3: Make g_smb_perfcount_handlers static 2010-06-14 12:06:52 +02:00
pipes.c s3: Make srv_send_smb take an sconn instead of a sock fd 2010-08-24 21:06:41 +02:00
posix_acls.c s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions. 2010-09-20 14:04:37 -07:00
process.c s3: Attempt to fix bug 7518 2010-09-28 19:22:50 +02:00
quotas.c s3:smbd: add nfs quota support to the linux-non-sysquota code 2010-08-25 14:05:51 +02:00
reply.c s3: Lift smbd_server_conn from file_find_di_first 2010-09-28 07:36:17 +02:00
seal.c Add approriate TALLOC_CTX's thoughout the spnego code. No more implicit NULL contexts. 2010-07-20 16:17:58 -07:00
sec_ctx.c s3:auth Remove NT_USER_TOKEN 2010-09-11 18:46:06 +10:00
server_exit.c s3: Remove smbd_server_conn from files_forall 2010-09-28 07:36:16 +02:00
server_reload.c s3: Lift smbd_server_fd from reload_services() 2010-08-18 11:18:21 +02:00
server.c s3: Lift smbd_messaging_context() from open_sockets_smbd() 2010-09-28 07:36:18 +02:00
service.c s3-auth Rename NT_USER_TOKEN user_sids -> sids 2010-08-31 10:20:14 +10:00
session.c s3-build: use dbwrap.h only where needed. 2010-08-26 00:25:55 +02:00
sesssetup.c s3: Avoid an explicit ZERO_STRUCT 2010-09-26 01:12:37 +02:00
share_access.c s3-auth Change struct nt_user_token -> struct security_token 2010-09-11 18:46:05 +10:00
signing.c s3-build: only include smb_signing.h where needed. 2010-08-18 09:20:13 +02:00
smb2_break.c (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client 2010-05-19 19:28:26 -07:00
smb2_close.c (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client 2010-05-19 19:28:26 -07:00
smb2_create.c s3-smbd: Migrated to new spoolss functions for printing. 2010-07-27 10:27:13 -04:00
smb2_find.c (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client 2010-05-19 19:28:26 -07:00
smb2_flush.c (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client 2010-05-19 19:28:26 -07:00
smb2_getinfo.c s3:Fix a bogus uninitialized variable warning 2010-07-05 11:06:23 +02:00
smb2_glue.c s3: Remove a direct reference to smbd_server_conn 2010-08-08 16:03:15 +02:00
smb2_ioctl.c (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client 2010-05-19 19:28:26 -07:00
smb2_keepalive.c libcli: move some common SMB and SMB2 stuff into libcli/smb/ 2009-08-12 18:28:32 +02:00
smb2_lock.c s3: Remove procid_self() from cancel_pending_lock_requests_by_fid_smb2() 2010-07-05 11:06:31 +02:00
smb2_negprot.c Move the addition of the 16 byte guid out of spnego_gen_negTokenInit() and 2010-07-19 16:45:16 -07:00
smb2_notify.c s3: change_notify_reply() does not need its "conn" argument 2010-06-12 15:42:55 +02:00
smb2_read.c Implement AIO in SMB2. Doesn't allow cancel calls yet (to be added). 2010-06-10 13:20:37 -07:00
smb2_server.c s3: Fix some uninitialized variable warnings 2010-08-30 15:57:14 +02:00
smb2_sesssetup.c s3-smbd: use make_server_info_krb5() in smb2 too. 2010-08-30 14:24:46 +02:00
smb2_setinfo.c Don't rely on the underlying ACL modules to enforce share level 2010-09-08 20:54:38 -07:00
smb2_signing.c libcli: move some common SMB and SMB2 stuff into libcli/smb/ 2009-08-12 18:28:32 +02:00
smb2_tcon.c s3: Fix some uninitialized variable warnings 2010-08-30 15:57:14 +02:00
smb2_write.c Implement AIO in SMB2. Doesn't allow cancel calls yet (to be added). 2010-06-10 13:20:37 -07:00
srvstr.c Solve some of the conflict between Samba3 and Samba4 push_string 2009-04-14 12:11:00 +10:00
statcache.c s3-build: only include memcache.h where needed. 2010-08-26 00:20:28 +02:00
statvfs.c
trans2.c s3: Lift smbd_server_conn from file_find_di_first 2010-09-28 07:36:17 +02:00
uid.c s3: Remove talloc_autofree_context() from change_to_guest() 2010-09-26 03:29:29 +02:00
utmp.c
vfs.c Fix bug 7409 - Thousands of reduce_name: couldn't get realpath. 2010-09-13 16:54:21 -07:00