chiark / gitweb /
process: Introduce afterfork()
[secnet.git] / secnet.h
index 0d0e02edd716dbc07eb759aa4d6365d44b475bb3..dad9fbd04df6bd33c8ad3ffbcdb8178092b9b05e 100644 (file)
--- a/secnet.h
+++ b/secnet.h
@@ -59,6 +59,10 @@ extern struct log_if *system_log;
 /* from process.c */
 extern void start_signal_handling(void);
 
+void afterfork(void);
+/* Must be called before exec in every child made after
+   start_signal_handling.  Safe to call in earlier children too. */
+
 /***** CONFIGURATION support *****/
 
 extern bool_t just_check_config; /* If True then we're going to exit after