summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2014-11-06 11:54:59 -0800
committerRobert Mustacchi <rm@joyent.com>2014-11-12 08:10:28 -0800
commitcb66c7814563eb32e20c1be88ae738ad8d63079d (patch)
tree192f25a707689ed0b873d96b28181eadaf3cb541 /usr/src/man/man3c
parent0716b62f878e855b94635ef4793ef5f7f2abb8e4 (diff)
downloadillumos-joyent-cb66c7814563eb32e20c1be88ae738ad8d63079d.tar.gz
5294 man ucred could do something useful
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Approved by: Gordon Ross <gwr@nexenta.com>
Diffstat (limited to 'usr/src/man/man3c')
-rw-r--r--usr/src/man/man3c/Makefile34
-rw-r--r--usr/src/man/man3c/ucred.3c (renamed from usr/src/man/man3c/ucred_get.3c)9
2 files changed, 20 insertions, 23 deletions
diff --git a/usr/src/man/man3c/Makefile b/usr/src/man/man3c/Makefile
index 8dbc5e4c7c..6240c88c40 100644
--- a/usr/src/man/man3c/Makefile
+++ b/usr/src/man/man3c/Makefile
@@ -475,7 +475,7 @@ MANFILES= __fbufsize.3c \
u8_validate.3c \
ualarm.3c \
uconv_u16tou32.3c \
- ucred_get.3c \
+ ucred.3c \
ungetc.3c \
ungetwc.3c \
unlockpt.3c \
@@ -1189,6 +1189,7 @@ MANLINKS= FD_CLR.3c \
uconv_u8tou16.3c \
uconv_u8tou32.3c \
ucred_free.3c \
+ ucred_get.3c \
ucred_getegid.3c \
ucred_geteuid.3c \
ucred_getgroups.3c \
@@ -2200,21 +2201,22 @@ uconv_u32tou8.3c := LINKSRC = uconv_u16tou32.3c
uconv_u8tou16.3c := LINKSRC = uconv_u16tou32.3c
uconv_u8tou32.3c := LINKSRC = uconv_u16tou32.3c
-ucred_free.3c := LINKSRC = ucred_get.3c
-ucred_getegid.3c := LINKSRC = ucred_get.3c
-ucred_geteuid.3c := LINKSRC = ucred_get.3c
-ucred_getgroups.3c := LINKSRC = ucred_get.3c
-ucred_getlabel.3c := LINKSRC = ucred_get.3c
-ucred_getpflags.3c := LINKSRC = ucred_get.3c
-ucred_getpid.3c := LINKSRC = ucred_get.3c
-ucred_getprivset.3c := LINKSRC = ucred_get.3c
-ucred_getprojid.3c := LINKSRC = ucred_get.3c
-ucred_getrgid.3c := LINKSRC = ucred_get.3c
-ucred_getruid.3c := LINKSRC = ucred_get.3c
-ucred_getsgid.3c := LINKSRC = ucred_get.3c
-ucred_getsuid.3c := LINKSRC = ucred_get.3c
-ucred_getzoneid.3c := LINKSRC = ucred_get.3c
-ucred_size.3c := LINKSRC = ucred_get.3c
+ucred_free.3c := LINKSRC = ucred.3c
+ucred_get.3c := LINKSRC = ucred.3c
+ucred_getegid.3c := LINKSRC = ucred.3c
+ucred_geteuid.3c := LINKSRC = ucred.3c
+ucred_getgroups.3c := LINKSRC = ucred.3c
+ucred_getlabel.3c := LINKSRC = ucred.3c
+ucred_getpflags.3c := LINKSRC = ucred.3c
+ucred_getpid.3c := LINKSRC = ucred.3c
+ucred_getprivset.3c := LINKSRC = ucred.3c
+ucred_getprojid.3c := LINKSRC = ucred.3c
+ucred_getrgid.3c := LINKSRC = ucred.3c
+ucred_getruid.3c := LINKSRC = ucred.3c
+ucred_getsgid.3c := LINKSRC = ucred.3c
+ucred_getsuid.3c := LINKSRC = ucred.3c
+ucred_getzoneid.3c := LINKSRC = ucred.3c
+ucred_size.3c := LINKSRC = ucred.3c
vswprintf.3c := LINKSRC = vfwprintf.3c
vwprintf.3c := LINKSRC = vfwprintf.3c
diff --git a/usr/src/man/man3c/ucred_get.3c b/usr/src/man/man3c/ucred.3c
index 9123e91dec..9333e8b0e6 100644
--- a/usr/src/man/man3c/ucred_get.3c
+++ b/usr/src/man/man3c/ucred.3c
@@ -3,9 +3,9 @@
.\" 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 UCRED_GET 3C "Apr 4, 2008"
+.TH UCRED 3C "Nov 6, 2014"
.SH NAME
-ucred_get, ucred_free, ucred_geteuid, ucred_getruid, ucred_getsuid,
+ucred, ucred_get, ucred_free, ucred_geteuid, ucred_getruid, ucred_getsuid,
ucred_getegid, ucred_getrgid, ucred_getsgid, ucred_getgroups, ucred_getprivset,
ucred_getpid, ucred_getprojid, ucred_getzoneid, ucred_getpflags,
ucred_getlabel, ucred_size \- user credential functions
@@ -94,7 +94,6 @@ ucred_getlabel, ucred_size \- user credential functions
.fi
.SH DESCRIPTION
-.sp
.LP
These functions return or act on a user credential, \fBucred_t\fR. User
credentials are returned by various functions and describe the credentials of a
@@ -169,11 +168,9 @@ is constant only until the next boot, at which time it could change. The
needed to receive a credential option with \fBSO_RECVUCRED\fR. See
\fBsocket.h\fR(3HEAD).
.SH RETURN VALUES
-.sp
.LP
See DESCRIPTION.
.SH ERRORS
-.sp
.LP
The \fBucred_get()\fR function will fail if:
.sp
@@ -269,7 +266,6 @@ credential.
.RE
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -287,7 +283,6 @@ MT-Level MT-Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBgetpflags\fR(2), \fBgetppriv\fR(2), \fBdoor_ucred\fR(3C),
\fBgetpeerucred\fR(3C), \fBpriv_set\fR(3C), \fBsocket.h\fR(3HEAD),