Source-Changes-HG archive

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

[src/trunk]: src/share/man/man9 Fix documentation for function kauth_register...



details:   https://anonhg.NetBSD.org/src/rev/efef67a368bf
branches:  trunk
changeset: 779981:efef67a368bf
user:      cheusov <cheusov%NetBSD.org@localhost>
date:      Tue Jul 03 21:35:04 2012 +0000

description:
Fix documentation for function kauth_register_key (PR 46641).

diffstat:

 share/man/man9/kauth.9 |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (32 lines):

diff -r 3fa76936c53d -r efef67a368bf share/man/man9/kauth.9
--- a/share/man/man9/kauth.9    Tue Jul 03 21:07:41 2012 +0000
+++ b/share/man/man9/kauth.9    Tue Jul 03 21:35:04 2012 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: kauth.9,v 1.102 2012/06/27 20:29:38 wiz Exp $
+.\" $NetBSD: kauth.9,v 1.103 2012/07/03 21:35:04 cheusov Exp $
 .\"
 .\" Copyright (c) 2005, 2006 Elad Efrat <elad%NetBSD.org@localhost>
 .\" All rights reserved.
@@ -25,7 +25,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd June 27, 2012
+.Dd July 4, 2012
 .Dt KAUTH 9
 .Os
 .Sh NAME
@@ -1705,10 +1705,9 @@
 Registering, and deregistering, a key is done by using these routines:
 .Pp
 .Bl -tag -width compact
-.It Ft int Fn kauth_register_key "const char *name" "kauth_key_t *keyp"
-Register new key for private data for
-.Ar name
-(usually, the security model name).
+.It Ft int Fn kauth_register_key "secmodel_t sm" "kauth_key_t *keyp"
+Register new key for private data for security model
+.Ar sm .
 .Ar keyp
 will be used to return the key to be used in further calls.
 .Pp



Home | Main Index | Thread Index | Old Index