aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/ucred.9
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2017-09-27 01:12:47 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2017-09-27 01:12:47 +0000
commit0da36218ad5bb5601beb02f88934073c9b1c2aa3 (patch)
tree9394d9c65cb239428a0a36479bdd885d9665f552 /share/man/man9/ucred.9
parentcfcabed65f3f015896ae084686bf3c7c4ded564a (diff)
Remove manpage entries about crshared(9)
The function itself was removed years ago in r272546 Submitted by: Paulm <paulm tetrardus.net> MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=324043
Diffstat (limited to 'share/man/man9/ucred.9')
-rw-r--r--share/man/man9/ucred.915
1 files changed, 1 insertions, 14 deletions
diff --git a/share/man/man9/ucred.9 b/share/man/man9/ucred.9
index e8b26d653fbd..afe4812d196c 100644
--- a/share/man/man9/ucred.9
+++ b/share/man/man9/ucred.9
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 19, 2009
+.Dd September 27, 2017
.Dt UCRED 9
.Os
.Sh NAME
@@ -34,7 +34,6 @@
.Nm crget ,
.Nm crhold ,
.Nm crfree ,
-.Nm crshared ,
.Nm crcopy ,
.Nm crdup ,
.Nm cru2x ,
@@ -49,8 +48,6 @@
.Fn crhold "struct ucred *cr"
.Ft void
.Fn crfree "struct ucred *cr"
-.Ft int
-.Fn crshared "struct ucred *cr"
.Ft void
.Fn crcopy "struct ucred *dest" "struct ucred *src"
.Ft "struct ucred *"
@@ -86,12 +83,6 @@ function decreases the reference count on the credential.
If the count drops to 0, the storage for the structure is freed.
.Pp
The
-.Fn crshared
-function returns true if the credential is shared.
-A credential is considered to be shared if its reference
-count is greater than one.
-.Pp
-The
.Fn crcopy
function copies the contents of the source (template)
credential into the destination template.
@@ -170,10 +161,6 @@ and
all return a pointer to a
.Vt ucred
structure.
-.Pp
-.Fn crshared
-returns 0 if the credential has a reference count greater than 1;
-otherwise, 1 is returned.
.Sh USAGE NOTES
As of
.Fx 5.0 ,