From 4d4b6a19de040a111cca42d518fe0d26c255ceec Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Mon, 7 Dec 2020 14:51:53 +0100 Subject: [PATCH] lib9p: open /mnt/factotum/rpc with OCEXEC flag in auth9p() --- sys/src/lib9p/auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;