summaryrefslogtreecommitdiff
path: root/source3/smbd/process.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2018-03-22 10:54:41 +0100
committerStefan Metzmacher <metze@samba.org>2018-06-18 08:59:21 +0200
commit146938217ed1ab9a7a9f38c055fec5513cbd5c4d (patch)
treec2c36d55b7b247f52bf76d8c5e9610230203e739 /source3/smbd/process.c
parentf5f9b719741465c7be3de20a6a69ec106ecc4568 (diff)
downloadsamba-146938217ed1ab9a7a9f38c055fec5513cbd5c4d.tar.gz
smbd: add smbd_server_connection->{root,guest}_ev_ctx pointer
For now these are just the same as smbd_server_connection->ev_ctx, but this will change in future and we'll use impersonation wrappers. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r--source3/smbd/process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index dbcf13187cf..2363eb78ea5 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -3925,6 +3925,8 @@ void smbd_process(struct tevent_context *ev_ctx,
sconn->ev_ctx = ev_ctx;
sconn->raw_ev_ctx = ev_ctx;
+ sconn->root_ev_ctx = ev_ctx;
+ sconn->guest_ev_ctx = ev_ctx;
sconn->msg_ctx = msg_ctx;
ret = pthreadpool_tevent_init(sconn, lp_aio_max_threads(),