lib9p: open internal file-descriptor with OCEXEC flag in getremotesys()
This commit is contained in:
parent
4d4b6a19de
commit
5e59c57bb1
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ getremotesys(char *ndir)
|
|||
|
||||
snprint(buf, sizeof buf, "%s/remote", ndir);
|
||||
sys = nil;
|
||||
fd = open(buf, OREAD);
|
||||
fd = open(buf, OREAD|OCEXEC);
|
||||
if(fd >= 0){
|
||||
n = read(fd, buf, sizeof(buf)-1);
|
||||
if(n>0){
|
||||
|
|
Loading…
Reference in a new issue