ref: 18f3d3e1242c6782c3949a665a859920bbd7725b
parent: ef96a954c006fb47b92530a05f9c9c3e01b3b492
author: cinap_lenrek <cinap_lenrek@felloff.net>
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;
--
⑨