diff options
author | 2015-11-16 18:29:34 +0000 | |
---|---|---|
committer | 2015-11-16 18:29:34 +0000 | |
commit | 859ed624d67a2b720bee220f9d19e4bda36e81f3 (patch) | |
tree | 5f7554c8e19906368bfe5ad0c6d73d1ce09417d9 /lib/libc/sys | |
parent | Only perform revoke(2) on tty cdevs. Others paths return ENOTTY. (diff) | |
download | wireguard-openbsd-859ed624d67a2b720bee220f9d19e4bda36e81f3.tar.xz wireguard-openbsd-859ed624d67a2b720bee220f9d19e4bda36e81f3.zip |
Permit revoke(2) for a pledge "rpath tty"
ok millert semarie tedu guenther
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/pledge.2 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/libc/sys/pledge.2 b/lib/libc/sys/pledge.2 index e4031ce6179..4222039ed22 100644 --- a/lib/libc/sys/pledge.2 +++ b/lib/libc/sys/pledge.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pledge.2,v 1.13 2015/11/06 06:46:52 mmcc Exp $ +.\" $OpenBSD: pledge.2,v 1.14 2015/11/16 18:29:34 deraadt Exp $ .\" .\" Copyright (c) 2015 Nicholas Marriott <nicm@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: November 6 2015 $ +.Dd $Mdocdate: November 16 2015 $ .Dt PLEDGE 2 .Os .Sh NAME @@ -405,6 +405,13 @@ used by tty devices: .Dv TIOCSETAW and .Dv TIOCSETAF . +.Pp +If +.Va "tty" +is accompanied with +.Va "rpath", +.Xr revoke 2 +is permitted. .It Va "proc" Allows the following process relationship operations: .Pp |