Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man Document kern.usercrypto and kern.userasymcrypto.



details:   https://anonhg.NetBSD.org/src/rev/7c675475c179
branches:  trunk
changeset: 754102:7c675475c179
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Tue Apr 20 08:27:24 2010 +0000

description:
Document kern.usercrypto and kern.userasymcrypto.

diffstat:

 share/man/man4/crypto.4 |  15 +++++++++++++--
 share/man/man7/sysctl.7 |  22 +++++++++++++++-------
 2 files changed, 28 insertions(+), 9 deletions(-)

diffs (79 lines):

diff -r 496221ebbe89 -r 7c675475c179 share/man/man4/crypto.4
--- a/share/man/man4/crypto.4   Tue Apr 20 07:58:16 2010 +0000
+++ b/share/man/man4/crypto.4   Tue Apr 20 08:27:24 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: crypto.4,v 1.19 2010/01/31 15:05:49 wiz Exp $
+.\"    $NetBSD: crypto.4,v 1.20 2010/04/20 08:27:24 jruoho Exp $
 .\"
 .\" Copyright (c) 2008 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -53,7 +53,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 .\" THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd January 28, 2010
+.Dd April 20, 2010
 .Dt CRYPTO 4
 .Os
 .Sh NAME
@@ -94,6 +94,17 @@
 then issue
 .Xr ioctl 2
 calls on the descriptor.
+User-mode access to
+.Pa /dev/crypto
+is generally controlled by two
+.Xr sysctl 8
+variables,
+.Ic kern.usercrypto
+and
+.Ic kern.userasymcrypto .
+See
+.Xr sysctl 7
+for additional details.
 .Pp
 The
 .Nm
diff -r 496221ebbe89 -r 7c675475c179 share/man/man7/sysctl.7
--- a/share/man/man7/sysctl.7   Tue Apr 20 07:58:16 2010 +0000
+++ b/share/man/man7/sysctl.7   Tue Apr 20 08:27:24 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sysctl.7,v 1.44 2010/04/20 07:58:16 jruoho Exp $
+.\"    $NetBSD: sysctl.7,v 1.45 2010/04/20 08:27:24 jruoho Exp $
 .\"
 .\" Copyright (c) 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -321,8 +321,8 @@
 .It kern.timex struct  no
 .It kern.tkstat        node    not applicable
 .It kern.urandom       integer no
-.\".It kern.usercrypto integer yes
-.\" It kern.userasymcrypto     integer yes
+.It kern.usercrypto    integer yes
+.It kern.userasymcrypto        integer yes
 .It kern.veriexec      node    not applicable
 .It kern.version       string  no
 .It kern.vnode struct vnode    no
@@ -933,10 +933,18 @@
 .El
 .It Li kern.urandom ( KERN_URND )
 Random integer value.
-.\".It Li kern.usercrypto
-.\" XXX: Undocumented.
-.\".It Li kern.userasymcrypto
-.\" XXX: Undocumented.
+.It Li kern.usercrypto
+When enabled, allows userland to
+.Xr open 2
+the
+.Pa /dev/crypto
+special device, used by the
+.Xr crypto 4
+system.
+.It Li kern.userasymcrypto
+Enables or disables the use of software asymmetric crypto support in the
+.Xr crypto 4
+system.
 .It Li kern.veriexec
 Runtime information for
 .Xr veriexec 8 .



Home | Main Index | Thread Index | Old Index