1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4/smbd
Andrew Tridgell c271dc998b ensure that child tasks die when the parent dies
Previously we relied on process groups and SIGTERM to ensure that
child tasks died in the standard process model when the parent task
died. This doesn't work when the server is run in interactive mode, as
in that case we don't call become_daemon() and don't get a separate
process group.

The fix is to have a pipe held open by the parent server process, and
inherited by child tasks. If the parent exits then the write side of
the pipe is implicitly closed, which causes an event in the child
tasks that causes them to exit
2009-08-07 17:24:48 +10:00
..
config.mk s4:smbd: depend on NAMED_PIPE_AUTH_TSTREAM... 2009-05-01 17:42:09 +02:00
pidfile.c Remove unused include param/param.h. 2008-10-24 16:37:56 +02:00
process_model.c s4:lib/tevent: rename structs 2008-12-29 20:46:40 +01:00
process_model.h s4:lib/tevent: rename structs 2008-12-29 20:46:40 +01:00
process_model.m4 Use AS_HELP_STRING() in a couple more places. 2009-01-15 21:22:34 +01:00
process_model.mk Fix missing symbols issues when building with shared libraries. 2008-12-22 21:03:09 +01:00
process_prefork.c s4:smbd: s/private/private_data 2009-02-02 13:08:36 +01:00
process_single.c s4:smbd: s/private/private_data 2009-02-02 13:08:36 +01:00
process_standard.c ensure that child tasks die when the parent dies 2009-08-07 17:24:48 +10:00
process_thread.c s4:smbd: s/private/private_data 2009-02-02 13:08:36 +01:00
samba.8.xml Rename smbd -> samba. 2008-09-24 03:16:15 +02:00
server.c prime the sam ldb schema in the parent samba process 2009-08-07 17:24:48 +10:00
service_named_pipe.c s4:smbd: add support for named_pipe_auth level 2 in service_named_pipe... 2009-05-01 17:42:06 +02:00
service_stream.c Fix Coverity 911: FORWARD_NULL. Metze, please check! 2009-05-02 13:14:14 +02:00
service_stream.h s4:service_stream: s/private/private_data 2009-02-02 13:09:00 +01:00
service_task.c s4:smbd: s/private/private_data 2009-02-02 13:08:36 +01:00
service_task.h s4:service_task: s/private/private_data 2009-02-02 13:08:59 +01:00
service.c s4:lib/tevent: rename structs 2008-12-29 20:46:40 +01:00
service.h r23792: convert Samba4 to GPLv3 2007-10-10 14:59:12 -05:00