tno zombies - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit ef2eeaf3bdfd2230758fa6551aa096fb4c0e8004
(DIR) parent 134c20c60516eb6b6a4f1148a5a24767d38de3a4
(HTM) Author: rsc <devnull@localhost>
Date: Sun, 13 Feb 2005 21:40:12 +0000
no zombies
Diffstat:
M src/cmd/auth/secstore/secstored.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/cmd/auth/secstore/secstored.c b/src/cmd/auth/secstore/secstored.c
t@@ -389,7 +389,7 @@ main(int argc, char **argv)
for(;;){
if((lcfd = listen(adir, ldir)) < 0)
exits("can't listen");
- switch(fork()){
+ switch(rfork(RFPROC|RFFDG|RFNOWAIT)){
case -1:
fprint(2, "secstore forking: %r\n");
close(lcfd);