git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e37e41b
)
smbd: remove unused change_to_root_user() from smbd_sig_hup_handler()
author
Stefan Metzmacher
<metze@samba.org>
Wed, 18 Apr 2018 12:29:52 +0000
(14:29 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 12 Jul 2018 12:25:18 +0000
(14:25 +0200)
This is handled by using the root_ev_ctx in order to register
the signal event.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/process.c
patch
|
blob
|
history
diff --git
a/source3/smbd/process.c
b/source3/smbd/process.c
index dc95af17393bc710fe6fc10eb0aa9a747f3a028a..0a4106257f5891cc5e8a573f23ff081dff3f8be0 100644
(file)
--- a/
source3/smbd/process.c
+++ b/
source3/smbd/process.c
@@
-998,7
+998,6
@@
static void smbd_sig_hup_handler(struct tevent_context *ev,
talloc_get_type_abort(private_data,
struct smbd_server_connection);
- change_to_root_user();
DEBUG(1,("Reloading services after SIGHUP\n"));
reload_services(sconn, conn_snum_used, false);
}