~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test-example: Set `system/userid'
[secnet]
/
slip.c
diff --git
a/slip.c
b/slip.c
index
e555f47
..
fad0a7e
100644
(file)
--- a/
slip.c
+++ b/
slip.c
@@
-383,6
+383,9
@@
static void userv_invoke_userv(struct userv *st)
}
setnonblock(st->txfd);
setnonblock(st->rxfd);
+
+ add_hook(PHASE_CHILDPERSIST,childpersist_closefd_hook,&st->txfd);
+ add_hook(PHASE_CHILDPERSIST,childpersist_closefd_hook,&st->rxfd);
}
static void userv_kill_userv(struct userv *st)