9660srv: run 9p service in separate namespace to prevent deadlock
we have to run the 9p service process in its own namespace otherwise the attach filename might point onto the served filesystem causing it to deadlock. this happens especially if 9660srv is used as root filesystem. (cdboot)
This commit is contained in:
parent
361e029541
commit
69e8a53ffe
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ main(int argc, char **argv)
|
|||
}
|
||||
srvfd = pipefd[1];
|
||||
|
||||
switch(rfork(RFNOWAIT|RFNOTEG|RFFDG|RFPROC)){
|
||||
switch(rfork(RFNOWAIT|RFNOTEG|RFFDG|RFPROC|RFNAMEG)){
|
||||
case -1:
|
||||
panic(1, "fork");
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue