diff options
author | 2020-10-09 00:04:05 +0000 | |
---|---|---|
committer | 2020-10-09 00:04:05 +0000 | |
commit | 91fb18fc81ed4cd273b09b4d1e341418c5c399d3 (patch) | |
tree | 3105e0033937a18d3cdf851272e49e10d3ff7fb8 /lib/libc/stdlib/malloc.c | |
parent | Add regress for ocspcheck (diff) | |
download | wireguard-openbsd-91fb18fc81ed4cd273b09b4d1e341418c5c399d3.tar.xz wireguard-openbsd-91fb18fc81ed4cd273b09b4d1e341418c5c399d3.zip |
Improve error message on missing permission
In case "cmd" (and "args") in doas.conf(5) mismatch, the log syslog(3)
message might be read as if the command was executed but failed, i.e.
returned non-zero.
Be unambiguous and help admins spot execution *attempts* as such:
-Oct 9 01:05:20 eru doas: failed command for kn: echo bar
+Oct 9 01:05:20 eru doas: command not permitted for kn: echo bar
OK tedu deraadt
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions