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
This commit is contained in:
mjg 2017-09-27 01:12:47 +00:00
parent c8836df626
commit 1b521971f3
3 changed files with 3 additions and 15 deletions

View File

@ -38,6 +38,8 @@
# xargs -n1 | sort | uniq -d;
# done
# 20170927: crshared
OLD_FILES+=usr/share/man/man9/crshared.9.gz
# 20170927: procctl
OLD_FILES+=usr/share/man/man8/procctl.8.gz
OLD_FILES+=usr/sbin/procctl

View File

@ -1929,7 +1929,6 @@ MLINKS+=ucred.9 cred_update_thread.9 \
ucred.9 crget.9 \
ucred.9 crhold.9 \
ucred.9 crsetgroups.9 \
ucred.9 crshared.9 \
ucred.9 cru2x.9
MLINKS+=uidinfo.9 uifind.9 \
uidinfo.9 uifree.9 \

View File

@ -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 ,