iostats: bind /srv into the namespace, its magic
programs that try to use /srv would choke when running under iostats, because we intercepted operations on the special, magic fd passing; we should instead give them access to the real /srv.
This commit is contained in:
parent
9e79aaceba
commit
4d872079d3
1 changed files with 1 additions and 0 deletions
|
@ -317,6 +317,7 @@ main(int argc, char **argv)
|
|||
bind("#c/ppid", "/dev/ppid", MREPL);
|
||||
bind("#e", "/env", MREPL|MCREATE);
|
||||
bind("#d", "/fd", MREPL);
|
||||
bind("#s", "/srv", MREPL|MCREATE);
|
||||
|
||||
if(chdir(buf) < 0)
|
||||
sysfatal("chdir: %r");
|
||||
|
|
Loading…
Reference in a new issue