summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsemarie <semarie@openbsd.org>2015-09-26 15:41:31 +0000
committersemarie <semarie@openbsd.org>2015-09-26 15:41:31 +0000
commita91a1c0c4211d27ebe94d333d88f158629aa0b3a (patch)
treed7ce5604bb1def7be7c8db8c02ef111bde361342
parentUpdate guidelines for lint-style comments (diff)
downloadwireguard-openbsd-a91a1c0c4211d27ebe94d333d88f158629aa0b3a.tar.xz
wireguard-openbsd-a91a1c0c4211d27ebe94d333d88f158629aa0b3a.zip
mentions that using systrace(4) on a tame(2) program isn't possible.
with big help from jmc for phrasing. ok jmc@
-rw-r--r--lib/libc/sys/tame.210
-rw-r--r--share/man/man4/systrace.410
2 files changed, 16 insertions, 4 deletions
diff --git a/lib/libc/sys/tame.2 b/lib/libc/sys/tame.2
index 7dc74a6fa81..86e6396f387 100644
--- a/lib/libc/sys/tame.2
+++ b/lib/libc/sys/tame.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tame.2,v 1.27 2015/09/11 09:01:16 deraadt Exp $
+.\" $OpenBSD: tame.2,v 1.28 2015/09/26 15:41:31 semarie 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: September 11 2015 $
+.Dd $Mdocdate: September 26 2015 $
.Dt TAME 2
.Os
.Sh NAME
@@ -431,3 +431,9 @@ The
.Fn tame
system call appeared in
.Ox 5.8 .
+.Sh CAVEATS
+It is not possible to
+.Xr systrace 4
+a
+.Xr tame 2
+program.
diff --git a/share/man/man4/systrace.4 b/share/man/man4/systrace.4
index 92cbff564b7..d8b39134ed5 100644
--- a/share/man/man4/systrace.4
+++ b/share/man/man4/systrace.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: systrace.4,v 1.21 2014/06/14 00:24:38 matthew Exp $
+.\" $OpenBSD: systrace.4,v 1.22 2015/09/26 15:41:31 semarie Exp $
.\"
.\" Copyright (c) 2002, 2003 CubeSoft Communications, Inc.
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 14 2014 $
+.Dd $Mdocdate: September 26 2015 $
.Dt SYSTRACE 4
.Os
.Sh NAME
@@ -484,3 +484,9 @@ When creating new policies, if
.Va strp_maxents
is not large enough to accommodate any system calls needed for
fundamental process operations, the traced process will block forever.
+.Pp
+It is not possible to
+.Xr systrace 4
+a
+.Xr tame 2
+program.