1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/smbd
Andreas Schneider 8736013dc4 s4:samba: Allow samba daemon to run in foreground
We are passing the no_process_group to become_daemon() that setsid() is
not called. In case we are double forking, we run in SysV daemon mode,
setsid() should be called!

See:
https://www.freedesktop.org/software/systemd/man/daemon.html

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13129

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2017-11-28 11:37:06 +01:00
..
process_model.c source4/smbd: replace DEBUG( with DBG_ 2017-10-19 05:33:10 +02:00
process_model.h source4/smbd: refactor the process model for prefork 2017-10-19 05:33:09 +02:00
process_prefork.c samba: Fix CID 1420179 Code maintainability issues UNUSED_VALUE 2017-10-27 20:33:25 +02:00
process_single.c source4/smbd: replace DEBUG( with DBG_ 2017-10-19 05:33:10 +02:00
process_standard.c source4/smbd: replace DEBUG( with DBG_ 2017-10-19 05:33:10 +02:00
server.c s4:samba: Allow samba daemon to run in foreground 2017-11-28 11:37:06 +01:00
service_named_pipe.c source4/smbd: replace DEBUG( with DBG_ 2017-10-19 05:33:10 +02:00
service_stream.c source4/smbd: replace DEBUG( with DBG_ 2017-10-19 05:33:10 +02:00
service_stream.h source4/smbd: refactor the process model for prefork 2017-10-19 05:33:09 +02:00
service_task.c source4/smbd: replace DEBUG( with DBG_ 2017-10-19 05:33:10 +02:00
service_task.h source4/smbd: refactor the process model for prefork 2017-10-19 05:33:09 +02:00
service.c source4/smbd: replace DEBUG( with DBG_ 2017-10-19 05:33:10 +02:00
service.h source4/smbd: refactor the process model for prefork 2017-10-19 05:33:09 +02:00
wscript_build source4/smbd: add a prefork process model. 2017-10-19 05:33:10 +02:00