mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
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.
This commit is contained in:
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user