diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-18 18:05:55 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-18 18:05:55 -0700 |
commit | e9a589feac531379e569bc39d803b16179002cfa (patch) | |
tree | 81fcaf840fa0ed4513e4d17d6e20f47434ca5ac5 /source4/lib | |
parent | ade5d43c5ceb915dd2210a735a21fd9bed531dd3 (diff) | |
download | samba-e9a589feac531379e569bc39d803b16179002cfa.tar.gz samba-e9a589feac531379e569bc39d803b16179002cfa.tar.bz2 samba-e9a589feac531379e569bc39d803b16179002cfa.zip |
s4-server: kill main daemon if a task fails to initialise
When one of our core tasks fails to initialise it can now ask for the
server as a whole to die, rather than limping along in a degraded
state.
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/messaging/irpc.h | 1 | ||||
-rw-r--r-- | source4/lib/messaging/messaging.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/messaging/irpc.h b/source4/lib/messaging/irpc.h index 3c518828ab..c82ad398ff 100644 --- a/source4/lib/messaging/irpc.h +++ b/source4/lib/messaging/irpc.h @@ -22,6 +22,7 @@ #ifndef IRPC_H #define IRPC_H +#include "lib/messaging/messaging.h" #include "librpc/gen_ndr/irpc.h" #include "librpc/gen_ndr/server_id.h" diff --git a/source4/lib/messaging/messaging.h b/source4/lib/messaging/messaging.h index c91a31d285..4ec69c8f34 100644 --- a/source4/lib/messaging/messaging.h +++ b/source4/lib/messaging/messaging.h @@ -36,4 +36,7 @@ struct messaging_context; /* temporary messaging endpoints are allocated above this line */ #define MSG_TMP_BASE 1000 +/* taskid for messaging of parent process */ +#define SAMBA_PARENT_TASKID 0 + #endif |