summaryrefslogtreecommitdiff
path: root/sys/src/libauth/auth_respond.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-12-07 16:46:34 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2020-12-07 16:46:34 +0100
commitf433f1426b10dc7bdd313ee72b842e27089f88f1 (patch)
treee06562452c98faf2c4dfbb435d803781596e9d9a /sys/src/libauth/auth_respond.c
parentf341ae8c777dda2876beb4d4a1c67c4e920595ca (diff)
libauth: open internal file-descriptors with OCEXEC flag
Diffstat (limited to 'sys/src/libauth/auth_respond.c')
-rw-r--r--sys/src/libauth/auth_respond.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/libauth/auth_respond.c b/sys/src/libauth/auth_respond.c
index cab4446e0..b5a362571 100644
--- a/sys/src/libauth/auth_respond.c
+++ b/sys/src/libauth/auth_respond.c
@@ -31,7 +31,7 @@ dorespond(void *chal, uint nchal, char *user, uint nuser, void *resp, uint nresp
AuthRpc *rpc;
Attr *a;
- if((afd = open("/mnt/factotum/rpc", ORDWR)) < 0)
+ if((afd = open("/mnt/factotum/rpc", ORDWR|OCEXEC)) < 0)
return -1;
if((rpc = auth_allocrpc(afd)) == nil){