1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source3/smbd
Volker Lendecke 698f651786 notifyd: Move BlockSignals calls to server.c
notifyd_send() is called as part of smbd initialization both in normal daemon
mode after a fork, but also in interactive mode. In interactive mode, notifyd
should not modify the global signal state with BlockSignals(). This patch moves
the signal blocking to the place where we know that notifyd is a child daemon.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jul 20 09:04:00 CEST 2016 on sn-devel-144
2016-07-20 09:03:59 +02:00
..
notifyd notifyd: Move BlockSignals calls to server.c 2016-07-20 09:03:59 +02: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 s3: smbd: Fix delete operations enumerating streams inside a file. This must always be done as a Windows operation. 2016-07-20 01:38:28 +02:00
conn_idle.c
conn_msg.c
conn.c
connection.c
dfree.c lib: Remove "includes.h" from util_file.c 2016-02-23 22:03:17 +01: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: move check for "hide files" to dos_mode_from_name() 2016-06-25 18:47:17 +02: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/filename remove smelly code 2016-05-04 01:28:23 +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 smbd: sconn->sys_notify_ctx is not used 2016-07-20 05:21:06 +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 Convert the few instances of int32 there were to int32_t. 2015-05-16 03:09:12 +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 param: rename lp function and variable from 'defaultcase' to 'default_case' 2014-02-07 16:19:10 -08:00
message.c s3:smbd: use req->xconn in message.c 2014-08-06 09:51:14 +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 CVE-2016-2114: s3:smbd: use the correct default values for "smb signing" 2016-04-12 19:25:25 +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 ntquotas - skip entry if the quota is zero 2016-03-31 20:30:10 +02:00
nttrans.c nt-quotas: fixup failure case for TRANSACT_GET_USER_QUOTA_FOR_SID 2016-04-29 02:15:23 +02:00
open.c s3: smbd: Fix delete operations enumerating streams inside a file. This must always be done as a Windows operation. 2016-07-20 01:38:28 +02:00
oplock_irix.c param: rename lp function and variable from 'lockdir' to 'lock_directory' 2014-02-07 16:19:10 -08:00
oplock_linux.c
oplock.c smbd: Fix an assert 2016-05-16 19:52:21 +02:00
password.c loadparm: rename lp[cfg]_pathname to lp[cfg]_path for consistency with docs 2014-02-03 13:26:13 +13:00
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 s3/smbd: move make_default_filesystem_acl() to vfs_acl_common.c 2016-07-19 06:44:18 +02:00
process.c s3: smbd: Correctly reflect back SMB_PIDHIGH to a client. 2016-06-18 15:32:18 +02:00
proto.h smbd: Re-register notify requests 2016-07-20 05:21:07 +02:00
pysmbd.c s3: Filenames: Add uint32_t flags parameter to synthetic_smb_fname(). 2016-03-24 22:57:16 +01:00
quotas.c s3-dfree-quota: remove special handling of EDQUOT 2016-06-01 00:57:32 +02:00
reply.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
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 notifyd: Move BlockSignals calls to server.c 2016-07-20 09:03:59 +02:00
service.c smbd: Re-register notify requests 2016-07-20 05:21:07 +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 "only user" and "username" parameters 2016-05-06 01:32:24 +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: Remove unneeded lp_posix_pathnames() check in SMB2 create. 2016-03-24 22:57:16 +01: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 s3:smb2_glue: remove chained fsps from all connections in remove_smb2_chained_fsp() 2014-09-19 09:15:12 +02:00
smb2_ioctl_dfs.c
smb2_ioctl_filesys.c smbd: Use check_access_fsp where appropriate 2015-11-17 19:53:24 +01:00
smb2_ioctl_named_pipe.c
smb2_ioctl_network_fs.c s3:smbd: only process fsctl_network_iface_info if multi channel is enabled 2016-01-26 10:40:44 +01: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 lib: Move sys_rw* to lib/util 2015-10-13 01:23:07 +02: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 smbd: Move a message_send_all to the cleanupd 2015-11-16 17:55:36 +01: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: Remove tdb_compat 2015-03-17 11:30:52 +01:00
statvfs.c s3/statvfs: expose FILE_SUPPORTS_SPARSE_FILES capability 2015-03-09 21:27:07 +01:00
trans2.c Fix the smb2_setinfo to handle FS info types and FSQUOTA infolevel 2016-04-27 05:39:01 +02:00
uid.c smbd: Change logging level for denied share access 2014-07-31 01:17:30 +02:00
utmp.c param: rename lp function and variable from 'wtmpdir' to 'wtmp_directory' 2014-02-07 16:19:11 -08:00
vfs.c vfs: Add helper to check for missing VFS functions 2016-04-06 00:15:17 +02:00