chiark
/
gitweb
/
~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
process: Introduce afterfork()
[secnet]
/
secnet.h
diff --git
a/secnet.h
b/secnet.h
index 3b54defdf96b69529d04dafcd14d7523554b5075..1bfe8a183d5a0becb31a6926558833014b79b2de 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);
/* 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
/***** CONFIGURATION support *****/
extern bool_t just_check_config; /* If True then we're going to exit after