diff options
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/man/man3nsl/rpc_clnt_auth.3nsl | 34 |
1 files changed, 14 insertions, 20 deletions
diff --git a/usr/src/man/man3nsl/rpc_clnt_auth.3nsl b/usr/src/man/man3nsl/rpc_clnt_auth.3nsl index f82f0d70f2..6cbd485653 100644 --- a/usr/src/man/man3nsl/rpc_clnt_auth.3nsl +++ b/usr/src/man/man3nsl/rpc_clnt_auth.3nsl @@ -1,10 +1,11 @@ '\" te +.\" Copyright 2015 Nexenta Systems, Inc. All rights reserved. .\" Copyright (C) 2002, Sun Microsystems, Inc. All Rights Reserved .\" Copyright 1989 AT&T .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH RPC_CLNT_AUTH 3NSL "Jan 14, 2002" +.TH RPC_CLNT_AUTH 3NSL "Feb 18, 2015" .SH NAME rpc_clnt_auth, auth_destroy, authnone_create, authsys_create, authsys_create_default \- library routines for client side remote procedure @@ -12,27 +13,31 @@ call authentication .SH SYNOPSIS .LP .nf +#include <rpc/rpc.h> +.fi + +.LP +.nf \fBvoid\fR \fBauth_destroy\fR(\fBAUTH *\fR\fIauth\fR); .fi .LP .nf -\fBAUTH *\fR\fBauthnone_create \fR(void) +\fBAUTH *\fR\fBauthnone_create\fR(void); .fi .LP .nf -\fBAUTH *\fR\fBauthsys_create\fR(\fBconst cha r*\fR\fIhost\fR, \fB const uid_t\fR \fIuid\fR, \fBconst gid_t\fR \fIgid\fR, +\fBAUTH *\fR\fBauthsys_create\fR(\fBconst char *\fR\fIhost\fR, \fBconst uid_t\fR \fIuid\fR, \fBconst gid_t\fR \fIgid\fR, \fBconst int\fR \fIlen\fR, \fBconst gid_t *\fR\fIaup_gids\fR); .fi .LP .nf -\fBAUTH *\fR\fBauthsys_create_default\fR(void) +\fBAUTH *\fR\fBauthsys_create_default\fR(void); .fi .SH DESCRIPTION -.sp .LP These routines are part of the \fBRPC\fR library that allows C language programs to make procedure calls on other machines across the network, with @@ -46,25 +51,16 @@ authentication information is passed to the server when the \fBRPC\fR call is made. .sp .LP -Only the \fINULL\fR and the \fBSYS\fR style of authentication is discussed +Only the \fBNULL\fR and the \fBSYS\fR style of authentication is discussed here. For the \fBDES\fR style authentication, please refer to \fBsecure_rpc\fR(3NSL). .sp .LP -The \fINULL\fR and \fBSYS\fR style of authentication are safe in multithreaded +The \fBNULL\fR and \fBSYS\fR style of authentication are safe in multithreaded applications. For the MT-level of the \fBDES\fR style, see its pages. .SS "Routines" -.sp .LP -The following routines require that the header \fB<rpc/rpc.h>\fR be included -(see \fBrpc\fR(3NSL) for the definition of the \fBAUTH\fR data structure). -.sp -.in +2 -.nf -#include <rpc/rpc.h> -.fi -.in -2 -.sp +Note: See \fBrpc\fR(3NSL) for the definition of the \fBAUTH\fR data structure. .sp .ne 2 @@ -105,14 +101,13 @@ user \fBID;\fR \fIgid\fR is the user's current group \fBID;\fR \fIlen\fR and .sp .ne 2 .na -\fBauthsys_create_default\fR +\fBauthsys_create_default()\fR .ad .RS 26n Call \fBauthsys_create()\fR with the appropriate parameters. .RE .SH ATTRIBUTES -.sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp @@ -128,7 +123,6 @@ MT-Level MT-Safe .TE .SH SEE ALSO -.sp .LP \fBrpc\fR(3NSL), \fBrpc_clnt_calls\fR(3NSL), \fBrpc_clnt_create\fR(3NSL), \fBsecure_rpc\fR(3NSL), \fBattributes\fR(5) |