diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-12-07 14:51:53 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-12-07 14:51:53 +0100 |
commit | 4d4b6a19de040a111cca42d518fe0d26c255ceec (patch) | |
tree | 057e48a0bb84b1a00a452c0efa6292ef742ad916 | |
parent | d570229e8268c96e97858f021b84bf00305f1daa (diff) | |
download | plan9front-4d4b6a19de040a111cca42d518fe0d26c255ceec.tar.xz |
lib9p: open /mnt/factotum/rpc with OCEXEC flag in auth9p()
-rw-r--r-- | sys/src/lib9p/auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/lib9p/auth.c b/sys/src/lib9p/auth.c index c67a4a481..dcd2d8de0 100644 --- a/sys/src/lib9p/auth.c +++ b/sys/src/lib9p/auth.c @@ -25,7 +25,7 @@ auth9p(Req *r) Afid *afid; afid = emalloc9p(sizeof(Afid)); - afid->afd = open("/mnt/factotum/rpc", ORDWR); + afid->afd = open("/mnt/factotum/rpc", ORDWR|OCEXEC); if(afid->afd < 0) goto error; |