diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-12-07 16:46:34 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-12-07 16:46:34 +0100 |
commit | f433f1426b10dc7bdd313ee72b842e27089f88f1 (patch) | |
tree | e06562452c98faf2c4dfbb435d803781596e9d9a /sys/src/libauth/auth_userpasswd.c | |
parent | f341ae8c777dda2876beb4d4a1c67c4e920595ca (diff) |
libauth: open internal file-descriptors with OCEXEC flag
Diffstat (limited to 'sys/src/libauth/auth_userpasswd.c')
-rw-r--r-- | sys/src/libauth/auth_userpasswd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/libauth/auth_userpasswd.c b/sys/src/libauth/auth_userpasswd.c index 62ed2c0da..df5b5834f 100644 --- a/sys/src/libauth/auth_userpasswd.c +++ b/sys/src/libauth/auth_userpasswd.c @@ -11,7 +11,7 @@ auth_userpasswd(char *user, char *passwd) char *s; int afd; - afd = open("/mnt/factotum/rpc", ORDWR); + afd = open("/mnt/factotum/rpc", ORDWR|OCEXEC); if(afd < 0) return nil; ai = nil; |