diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-12-25 18:02:18 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-12-25 18:02:18 +0000 |
commit | 02d09919941c8f33f93f9e643a2aebb1fea14a91 (patch) | |
tree | c42b4ff8286765ee96fc3a32be6cb01d20cfc986 /sys/src/libauth | |
parent | 5b032deb0cbe7e1b959e37950c160382fa55d7a8 (diff) |
auth: use caphash and capuse under /dev instead of #¤
Diffstat (limited to 'sys/src/libauth')
-rw-r--r-- | sys/src/libauth/auth_chuid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/src/libauth/auth_chuid.c b/sys/src/libauth/auth_chuid.c index 4703ea000..1b34682b8 100644 --- a/sys/src/libauth/auth_chuid.c +++ b/sys/src/libauth/auth_chuid.c @@ -16,15 +16,15 @@ auth_chuid(AuthInfo *ai, char *ns) } /* change uid */ - fd = open("#¤/capuse", OWRITE|OCEXEC); + fd = open("/dev/capuse", OCEXEC|OWRITE); if(fd < 0){ - werrstr("opening #¤/capuse: %r"); + werrstr("opening /dev/capuse: %r"); return -1; } rv = write(fd, ai->cap, strlen(ai->cap)); close(fd); if(rv < 0){ - werrstr("writing %s to #¤/capuse: %r", ai->cap); + werrstr("writing %s to /dev/capuse: %r", ai->cap); return -1; } |