svn commit: r324043 - in head: . share/man/man9

Mateusz Guzik mjg at FreeBSD.org
Wed Sep 27 01:12:49 UTC 2017


Author: mjg
Date: Wed Sep 27 01:12:47 2017
New Revision: 324043
URL: https://svnweb.freebsd.org/changeset/base/324043

Log:
  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

Modified:
  head/ObsoleteFiles.inc
  head/share/man/man9/Makefile
  head/share/man/man9/ucred.9

Modified: head/ObsoleteFiles.inc
==============================================================================
--- head/ObsoleteFiles.inc	Wed Sep 27 01:03:00 2017	(r324042)
+++ head/ObsoleteFiles.inc	Wed Sep 27 01:12:47 2017	(r324043)
@@ -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

Modified: head/share/man/man9/Makefile
==============================================================================
--- head/share/man/man9/Makefile	Wed Sep 27 01:03:00 2017	(r324042)
+++ head/share/man/man9/Makefile	Wed Sep 27 01:12:47 2017	(r324043)
@@ -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 \

Modified: head/share/man/man9/ucred.9
==============================================================================
--- head/share/man/man9/ucred.9	Wed Sep 27 01:03:00 2017	(r324042)
+++ head/share/man/man9/ucred.9	Wed Sep 27 01:12:47 2017	(r324043)
@@ -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 credenti
 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 ,


More information about the svn-src-head mailing list