summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-09-12 15:52:38 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-09-12 15:52:38 +0000
commit69353998485356d70215ff90b98a3063318acf4c (patch)
tree96de1ff5a909fdfffa60dbe79288a539087f6e59
parentb595e67dd291df3861f167f791e2e56055e52b7f (diff)
mark up arguments individually and drop redundant .Bk
-rw-r--r--bin/systrace/systrace.114
-rw-r--r--usr.sbin/chroot/chroot.88
2 files changed, 10 insertions, 12 deletions
diff --git a/bin/systrace/systrace.1 b/bin/systrace/systrace.1
index c7afc9c62ee..7b1b1d2e3fa 100644
--- a/bin/systrace/systrace.1
+++ b/bin/systrace/systrace.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: systrace.1,v 1.45 2014/09/08 01:27:54 schwarze Exp $
+.\" $OpenBSD: systrace.1,v 1.46 2015/09/12 15:52:37 schwarze Exp $
.\"
.\" Copyright 2002 Niels Provos <provos@citi.umich.edu>
.\" All rights reserved.
@@ -30,7 +30,7 @@
.\"
.\" Manual page, using -mandoc macros
.\"
-.Dd $Mdocdate: September 8 2014 $
+.Dd $Mdocdate: September 12 2015 $
.Dt SYSTRACE 1
.Os
.Sh NAME
@@ -38,16 +38,14 @@
.Nd generate and enforce system call policies
.Sh SYNOPSIS
.Nm systrace
-.Bk -words
.Op Fl AaCeitUuV
-.Op Fl c Ar user:group
+.Op Fl c Ar user : Ns Ar group
.Op Fl d Ar policydir
.Op Fl E Ar logfile
.Op Fl f Ar file
.Op Fl g Ar gui
.Op Fl p Ar pid
.Ar command ...
-.Ek
.Sh DESCRIPTION
The
.Nm
@@ -109,11 +107,11 @@ This may be useful, for example, in scenarios where
.Nm
is being heavily used.
If a cradle server is not running, one is launched.
-.It Fl c Ar user:group
+.It Fl c Ar user : Ns Ar group
Specifies the
-.Va user
+.Ar user
and
-.Va group
+.Ar group
that the monitored application should be executed with,
which may be either non-negative integers or names.
This is useful in conjunction with privilege elevation and requires
diff --git a/usr.sbin/chroot/chroot.8 b/usr.sbin/chroot/chroot.8
index ed478b24995..6bf4cbb0f8f 100644
--- a/usr.sbin/chroot/chroot.8
+++ b/usr.sbin/chroot/chroot.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chroot.8,v 1.15 2015/05/19 16:05:12 millert Exp $
+.\" $OpenBSD: chroot.8,v 1.16 2015/09/12 15:52:37 schwarze Exp $
.\"
.\" Copyright (c) 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" from: @(#)chroot.8 8.1 (Berkeley) 6/9/93
.\"
-.Dd $Mdocdate: May 19 2015 $
+.Dd $Mdocdate: September 12 2015 $
.Dt CHROOT 8
.Os
.Sh NAME
@@ -37,7 +37,7 @@
.Nd change root directory
.Sh SYNOPSIS
.Nm chroot
-.Op Fl g Ar group,group,...
+.Op Fl g Ar group Ns Op Pf , Ar group Ns Op Pf , Ar ...
.Op Fl u Ar user
.Ar newroot
.Op Ar command
@@ -56,7 +56,7 @@ command is restricted to the superuser.
.Pp
The options are as follows:
.Bl -tag -width Ds
-.It Fl g Ar group,group,...
+.It Fl g Ar group Ns Op Pf , Ar group Ns Op Pf , Ar ...
Override the primary and supplemental group IDs.
The primary group ID is set to the first group in the list.
Any remaining groups are placed in the supplemental group ID vector.