ref: 4d4b6a19de040a111cca42d518fe0d26c255ceec
parent: d570229e8268c96e97858f021b84bf00305f1daa
author: cinap_lenrek <[email protected]>
date: Mon Dec 7 09:51:53 EST 2020
lib9p: open /mnt/factotum/rpc with OCEXEC flag in auth9p()
--- a/sys/src/lib9p/auth.c
+++ b/sys/src/lib9p/auth.c
@@ -25,7 +25,7 @@
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;