diff options
author | 2019-07-25 13:13:53 +0000 | |
---|---|---|
committer | 2019-07-25 13:13:53 +0000 | |
commit | 227c47e95c2f78cc383f51c98cb9a1a1c8d3fbfc (patch) | |
tree | 9ff6a68992507439adb0b513772146bfd1b5c4af /lib/libc | |
parent | remove superfluous comment (diff) | |
download | wireguard-openbsd-227c47e95c2f78cc383f51c98cb9a1a1c8d3fbfc.tar.xz wireguard-openbsd-227c47e95c2f78cc383f51c98cb9a1a1c8d3fbfc.zip |
Show unveil(2) violators in lastcomm(1) output and daily mail.
input Janne Johansson, schwarze@; OK deraadt@ millert@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/unveil.2 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libc/sys/unveil.2 b/lib/libc/sys/unveil.2 index c7766853620..02322f5f7b9 100644 --- a/lib/libc/sys/unveil.2 +++ b/lib/libc/sys/unveil.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: unveil.2,v 1.17 2019/03/24 19:55:31 jmc Exp $ +.\" $OpenBSD: unveil.2,v 1.18 2019/07/25 13:13:53 bluhm Exp $ .\" .\" Copyright (c) 2018 Bob Beck <beck@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: March 24 2019 $ +.Dd $Mdocdate: July 25 2019 $ .Dt UNVEIL 2 .Os .Sh NAME @@ -126,6 +126,12 @@ argument does not match the attempted operation. is returned for paths for which no .Nm permissions qualify. +After a process has terminated, +.Xr lastcomm 1 +will mark it with the +.Sq U +flag if file access was prevented by +.Fn unveil . .Pp .Fn unveil use can be tricky because programs misbehave badly when their files |