Module Name: src Committed By: cheusov Date: Tue Jul 3 21:35:05 UTC 2012
Modified Files: src/share/man/man9: kauth.9 Log Message: Fix documentation for function kauth_register_key (PR 46641). To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/share/man/man9/kauth.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man9/kauth.9 diff -u src/share/man/man9/kauth.9:1.102 src/share/man/man9/kauth.9:1.103 --- src/share/man/man9/kauth.9:1.102 Wed Jun 27 20:29:38 2012 +++ src/share/man/man9/kauth.9 Tue Jul 3 21:35:04 2012 @@ -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 <e...@netbsd.org> .\" 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 @@ may be associated with the credentials. 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