Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man8 Add systrace(1) support to rc.subr. Most ser...
details: https://anonhg.NetBSD.org/src/rev/5eb0ef5f1c4f
branches: trunk
changeset: 533729:5eb0ef5f1c4f
user: atatat <atatat%NetBSD.org@localhost>
date: Mon Jul 08 16:14:55 2002 +0000
description:
Add systrace(1) support to rc.subr. Most services (eg, ${name} is
inetd) started from rc can now be run under systrace by setting
${name}_systrace to a set of flags to be passed to systrace. Note
that policies need to generated before you do this.
diffstat:
share/man/man8/rc.subr.8 | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r a7d7387db53b -r 5eb0ef5f1c4f share/man/man8/rc.subr.8
--- a/share/man/man8/rc.subr.8 Mon Jul 08 16:14:54 2002 +0000
+++ b/share/man/man8/rc.subr.8 Mon Jul 08 16:14:55 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: rc.subr.8,v 1.8 2002/04/18 11:14:33 lukem Exp $
+.\" $NetBSD: rc.subr.8,v 1.9 2002/07/08 16:14:55 atatat Exp $
.\"
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -418,6 +418,18 @@
Comma separated list of supplementary groups to run the chrooted
.Sy command
with.
+.It Sy ${name}_systrace
+Flags passed to
+.Xr systrace 1 ,
+if it is used.
+Setting this variable enables systracing
+of the given program. The use of
+.Sq -a
+is
+recommended so that the boot process is not
+stalled. In order to pass no flags to
+systrace, set this variable to
+.Sq -- .
.It Ar argument Ns Sy _cmd
Shell commands which override the default method for
.Ar argument .
Home |
Main Index |
Thread Index |
Old Index