aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/man/man9/Makefile3
-rw-r--r--share/man/man9/ucred.912
2 files changed, 3 insertions, 12 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index 28a636b146ce..3034c24c6adb 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -2095,8 +2095,7 @@ MLINKS+=timeout.9 callout.9 \
timeout.9 callout_stop.9 \
timeout.9 callout_when.9 \
timeout.9 untimeout.9
-MLINKS+=ucred.9 cred_update_thread.9 \
- ucred.9 crcopy.9 \
+MLINKS+=ucred.9 crcopy.9 \
ucred.9 crcopysafe.9 \
ucred.9 crdup.9 \
ucred.9 crfree.9 \
diff --git a/share/man/man9/ucred.9 b/share/man/man9/ucred.9
index afe4812d196c..44cbe00f5ef4 100644
--- a/share/man/man9/ucred.9
+++ b/share/man/man9/ucred.9
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 27, 2017
+.Dd January 23, 2019
.Dt UCRED 9
.Os
.Sh NAME
@@ -36,8 +36,7 @@
.Nm crfree ,
.Nm crcopy ,
.Nm crdup ,
-.Nm cru2x ,
-.Nm cred_update_thread
+.Nm cru2x
.Nd "functions related to user credentials"
.Sh SYNOPSIS
.In sys/param.h
@@ -58,8 +57,6 @@
.Fn crsetgroups "struct ucred *cr" "int ngrp" "gid_t *groups"
.Ft void
.Fn cru2x "struct ucred *cr" "struct xucred *xcr"
-.Ft void
-.Fn cred_update_thread "struct thread *td"
.Sh DESCRIPTION
The
.Nm
@@ -147,11 +144,6 @@ the former
(e.g.,
.Va cr_version ) .
.Pp
-The
-.Fn cred_update_thread
-function sets the credentials of
-.Fa td
-to that of its process, freeing its old credential if required.
.Sh RETURN VALUES
.Fn crget ,
.Fn crhold ,