1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/smbd
Anoop C S 3a864fc952 s3/smb2_read: Better fallback for incorrectly configured sendfile setups
When "use sendfile" is enabled but not supported by the underlying VFS
module then fallback to normal copy and print out a warning for the
admin.

Pair-Programmed-With: Guenther Deschner <gd@samba.org>
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2017-01-11 00:49:22 +01:00
..
notifyd s3:waf: Make PARAM and SMBREGISTRY a subsystem of smbconf only 2016-12-04 16:35:22 +01:00
aio.c s3: smbd: Use common function setup_readX_header() in aio read code. 2016-06-18 15:32:18 +02:00
avahi_register.c
blocking.c dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01:00
close.c Update smbrun to allow for settings environment variables. 2016-10-13 04:26:26 +02:00
conn_idle.c
conn_msg.c
conn.c
connection.c
dfree.c smbd: get a valid file stat to disk_quotas 2016-08-13 01:53:15 +02:00
dir.c s3: Filenames: Add uint32_t flags parameter to synthetic_smb_fname(). 2016-03-24 22:57:16 +01:00
dmapi.c Convert all uses of uint8/16/32 to _t in source3/smbd. 2015-05-06 04:14:14 +02:00
dnsregister.c
dosmode.c s3/smbd: fix the last resort check that sets the file type attribute 2016-11-19 11:55:35 +01:00
durable.c s3: Filenames: Add uint32_t flags parameter to synthetic_smb_fname(). 2016-03-24 22:57:16 +01:00
error.c Convert all uses of uint8/16/32 to _t in source3/smbd. 2015-05-06 04:14:14 +02:00
fake_file.c Convert three include files from uint32/16/8 to _t types as well as the source that includes them. 2015-05-01 19:15:10 +02:00
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: Fix line length & whitespace in write_file 2016-02-23 22:03:16 +01:00
filename.c s3:smbd: only pass UCF_PREP_CREATEFILE to filename_convert() if we may create a new file 2016-10-25 05:33:36 +02:00
files.c smbd: Add "path" to notify_remove 2016-07-20 05:21:06 +02:00
globals.c printing: use housekeeping period that matches cache time 2016-04-19 09:37:14 +02:00
globals.h vfs: Remove link to asys_ 2016-08-24 01:33:49 +02:00
ipc.c Convert all uses of uint8/16/32 to _t in source3/smbd. 2015-05-06 04:14:14 +02:00
lanman.c werror: replace WERR_USER_NOT_FOUND with WERR_NERR_USERNOTFOUND in source3/smbd/lanman.c 2016-09-28 00:04:26 +02:00
mangle_hash2.c lib/util: move memcache.[ch] to the toplevel 'samba-util' library 2014-07-18 15:43:33 +02:00
mangle_hash.c smbd: Convert valid.dat to C code 2015-03-24 00:00:20 +01:00
mangle.c s3/smbd: convert "mangled names" option to an enum 2017-01-09 19:31:20 +01:00
message.c Update smbrun to allow for settings environment variables. 2016-10-13 04:26:26 +02:00
msdfs.c s3: smbd: DFS: Pass uint32_t ucf_flags through into unix_convert(). 2016-03-26 00:08:40 +01:00
negprot.c smbd: Adjust debug level of "No protocol supported" message 2016-09-10 14:57:11 +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 notify_inotify: Map inotify mask back to filter 2016-07-18 18:50:55 +02:00
notify_msg.c smbd: Log which notifyd was found 2016-07-20 05:21:07 +02:00
notify.c smbd: Re-register notify requests 2016-07-20 05:21:07 +02:00
ntquotas.c smbd: free talloc context if no quota records are available 2016-10-04 02:00:22 +02:00
nttrans.c s3:smbd: only pass UCF_PREP_CREATEFILE to filename_convert() if we may create a new file 2016-10-25 05:33:36 +02:00
open.c s3: smbd: Make check_parent_access() available to rename code. 2016-12-07 07:58:26 +01:00
oplock_irix.c
oplock_linux.c
oplock.c smbd: oplock: Factor out internals of remove_oplock() into new remove_oplock_under_lock(). 2016-08-11 19:55:11 +02:00
password.c
perfcount.c
pipes.c s3: smbd: In reply_read_and_X() SMB1 server is overwriting part of the 'reserved' zero fields with reply data length. 2016-06-18 15:32:18 +02:00
posix_acls.c smbd: avoid extra churn on a debug print 2016-12-01 14:16:23 +01:00
process.c s3: server: s3_tevent_context_init() -> samba_tevent_context_init() 2016-09-24 19:52:08 +02:00
proto.h s3: smbd: Make check_parent_access() available to rename code. 2016-12-07 07:58:26 +01:00
pysmbd.c s3: Filenames: Add uint32_t flags parameter to synthetic_smb_fname(). 2016-03-24 22:57:16 +01:00
quotas.c smbd: use owner uid for free disk calculation if owner is inherited 2016-08-13 01:53:15 +02:00
reply.c s3: smbd: Add missing permissions check on destination folder. 2016-12-07 07:58:26 +01:00
scavenger.c smbd: Fix/simplify scavenger routines 2015-10-30 22:53:56 +01:00
scavenger.h
seal.c s3:smbd: remove unused spnego related includes 2015-12-17 14:45:13 +01:00
sec_ctx.c s3:smbprofile: improve profiling for the security context switching. 2014-11-19 20:51:37 +01:00
server_exit.c Revert "s3: smbd: Tear down global_smbXsrv_client in the correct order." 2015-12-07 21:09:04 +01:00
server_reload.c s3:smbd: use lp_load_with_shares() in reload_services(). 2015-04-22 13:57:29 +02:00
server.c s3: server: s3_tevent_context_init() -> samba_tevent_context_init() 2016-09-24 19:52:08 +02:00
service.c Update smbrun to allow for settings environment variables. 2016-10-13 04:26:26 +02:00
session.c
sesssetup.c s3:smbd: fix anonymous authentication if signing is mandatory 2016-05-18 15:49:46 +02: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: move sconn->smb1.signing_state to xconn->smb1.signing_state 2014-08-06 09:51:11 +02:00
smb2_break.c smbXsrv: rename smb2srv_session_lookup -> smb2srv_session_lookup_conn 2015-07-29 18:26:07 +02:00
smb2_close.c smbd:smb2_close: remove an irritating blank line 2016-01-22 01:55:09 +01:00
smb2_create.c s3:smbd: only pass UCF_PREP_CREATEFILE to filename_convert() if we may create a new file 2016-10-25 05:33:36 +02:00
smb2_flush.c s3/vfs: wrap async io function args inside struct vfs_aio_state 2016-03-02 01:22:13 +01:00
smb2_getinfo.c s3:smbd: mask security_information input values with SMB_SUPPORTED_SECINFO_FLAGS 2014-08-22 00:28:08 +02:00
smb2_glue.c smbd: allow reading files based on FILE_EXECUTE access right 2016-08-18 18:58:22 +02:00
smb2_ioctl_dfs.c
smb2_ioctl_filesys.c smbd/ioctl: match WS2016 ReFS set compression behaviour 2017-01-09 23:14:27 +01:00
smb2_ioctl_named_pipe.c
smb2_ioctl_network_fs.c smbd: look only at handle readability for COPYCHUNK dest 2016-08-16 15:21:03 +02:00
smb2_ioctl_private.h
smb2_ioctl.c s3:smb2_server: pass smbXsrv_connection to smbd_server_connection_terminate*() 2014-08-06 09:51:13 +02:00
smb2_keepalive.c s3:smb2_keepalive: make use of smbd_smb2_generate_outbody() 2014-03-05 13:59:22 -08:00
smb2_lock.c smbd: Fix CID 1273096 Dereference before null check 2015-06-23 22:12:09 +02:00
smb2_negprot.c smbd: use remote arch caching 2016-05-04 01:28:22 +02:00
smb2_notify.c s3:smb2_server: use async smbprofile macros 2014-11-19 20:51:37 +01:00
smb2_query_directory.c s3: smbd: Change dptr_create() to take a const struct smb_filename * instead of const char *. 2016-03-01 18:34:24 +01:00
smb2_read.c s3/smb2_read: Better fallback for incorrectly configured sendfile setups 2017-01-11 00:49:22 +01:00
smb2_server.c s3:smbd remove todo comments 2016-05-04 05:00:36 +02:00
smb2_sesssetup.c smbd: use remote arch caching 2016-05-04 01:28:22 +02:00
smb2_setinfo.c smbd: Convert locking.tdb to new dbwrap_watch 2016-07-15 16:56:13 +02:00
smb2_tcon.c s3:smb2_server: convert encryption desired and required bools to flags 2016-01-22 07:52:20 +01:00
smb2_write.c s3:smb2_write: add simplified support for SMB2_WRITEFLAG_WRITE_UNBUFFERED 2015-05-08 13:00:28 +02:00
smbd_cleanupd.c s3/smbd: remove a misleading error message 2016-09-16 16:43:16 +02:00
smbd_cleanupd.h smbd: Implement a cleanup daemon 2015-11-16 14:51:33 +01:00
smbd.h Convert all uses of uint8/16/32 to _t in source3/smbd. 2015-05-06 04:14:14 +02:00
smbXsrv_client.c smbd: Remove a reference to dbwrap_watch_db() 2016-07-15 20:32:19 +02:00
smbXsrv_open.c smbd: Avoid an "else" 2016-03-09 21:51:52 +01:00
smbXsrv_session.c smbd: Convert smbXsrv_open_global.tdb to new dbwrap_watch 2016-07-15 16:56:13 +02:00
smbXsrv_tcon.c smbXsrv_tcon: factor fetch-locking of local record into function 2016-02-28 05:03:22 +01:00
smbXsrv_version.c smbXsrv: don't leak lock_path onto talloc tos 2014-11-03 23:46:05 +01:00
srvstr.c Convert all uses of uint8/16/32 to _t in source3/smbd. 2015-05-06 04:14:14 +02:00
statcache.c lib: Move "message_send_all" to serverid.c 2016-07-28 05:00:19 +02:00
statvfs.c s3/statvfs: expose FILE_SUPPORTS_SPARSE_FILES capability 2015-03-09 21:27:07 +01:00
trans2.c s3/smbd: convert "mangled names" option to an enum 2017-01-09 19:31:20 +01:00
uid.c smbd: Change logging level for denied share access 2014-07-31 01:17:30 +02:00
utmp.c
vfs.c s3/vfs: remove now unused is_offline/set_offline VFS functions 2016-10-11 14:44:01 +02:00