Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115073030
D40630.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D40630.diff
View Options
diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -51,6 +51,10 @@
# xargs -n1 | sort | uniq -d;
# done
+# 20230927: Man pages renamed to match the actual functions
+OLD_FILES+=usr/share/man/man9/cr_seeothergids.9.gz
+OLD_FILES+=usr/share/man/man9/cr_seeotheruids.9.gz
+
# 20230925
OLD_FILES+=usr/share/examples/diskless/ME
OLD_FILES+=usr/share/examples/diskless/README.BOOTP
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -69,9 +69,9 @@
counter.9 \
cpuset.9 \
cr_cansee.9 \
+ cr_canseeothergids.9 \
+ cr_canseeotheruids.9 \
critical_enter.9 \
- cr_seeothergids.9 \
- cr_seeotheruids.9 \
crypto.9 \
crypto_buffer.9 \
crypto_driver.9 \
diff --git a/share/man/man9/cr_cansee.9 b/share/man/man9/cr_cansee.9
--- a/share/man/man9/cr_cansee.9
+++ b/share/man/man9/cr_cansee.9
@@ -50,9 +50,9 @@
and
.Va security.bsd.see_other_uids ,
as per the description in
-.Xr cr_seeothergids 9
+.Xr cr_canseeothergids 9
and
-.Xr cr_seeotheruids 9
+.Xr cr_canseeotheruids 9
respectively.
.Sh RETURN VALUES
This function returns zero if the object with credential
@@ -84,7 +84,7 @@
The MAC subsystem denied visibility.
.El
.Sh SEE ALSO
-.Xr cr_seeothergids 9 ,
-.Xr cr_seeotheruids 9 ,
+.Xr cr_canseeothergids 9 ,
+.Xr cr_canseeotheruids 9 ,
.Xr mac 9 ,
.Xr p_cansee 9
diff --git a/share/man/man9/cr_seeothergids.9 b/share/man/man9/cr_canseeothergids.9
rename from share/man/man9/cr_seeothergids.9
rename to share/man/man9/cr_canseeothergids.9
--- a/share/man/man9/cr_seeothergids.9
+++ b/share/man/man9/cr_canseeothergids.9
@@ -26,14 +26,14 @@
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd November 11, 2003
-.Dt CR_SEEOTHERGIDS 9
+.Dt CR_CANSEEOTHERGIDS 9
.Os
.Sh NAME
-.Nm cr_seeothergids
+.Nm cr_canseeothergids
.Nd determine visibility of objects given their group memberships
.Sh SYNOPSIS
.Ft int
-.Fn cr_seeothergids "struct ucred *u1" "struct ucred *u2"
+.Fn cr_canseeothergids "struct ucred *u1" "struct ucred *u2"
.Sh DESCRIPTION
This function determines the visibility of objects in the
kernel based on the group IDs in the credentials
@@ -76,5 +76,5 @@
.Er ESRCH
otherwise.
.Sh SEE ALSO
-.Xr cr_seeotheruids 9 ,
+.Xr cr_canseeotheruids 9 ,
.Xr p_candebug 9
diff --git a/share/man/man9/cr_seeotheruids.9 b/share/man/man9/cr_canseeotheruids.9
rename from share/man/man9/cr_seeotheruids.9
rename to share/man/man9/cr_canseeotheruids.9
--- a/share/man/man9/cr_seeotheruids.9
+++ b/share/man/man9/cr_canseeotheruids.9
@@ -26,14 +26,14 @@
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd November 11, 2003
-.Dt CR_SEEOTHERUIDS 9
+.Dt CR_CANSEEOTHERUIDS 9
.Os
.Sh NAME
-.Nm cr_seeotheruids
+.Nm cr_canseeotheruids
.Nd determine visibility of objects given their user credentials
.Sh SYNOPSIS
.Ft int
-.Fn cr_seeotheruids "struct ucred *u1" "struct ucred *u2"
+.Fn cr_canseeotheruids "struct ucred *u1" "struct ucred *u2"
.Sh DESCRIPTION
This function determines the visibility of objects in the
kernel based on the real user IDs in the credentials
@@ -76,5 +76,5 @@
.Er ESRCH
otherwise.
.Sh SEE ALSO
-.Xr cr_seeothergids 9 ,
+.Xr cr_canseeothergids 9 ,
.Xr p_candebug 9
diff --git a/share/man/man9/p_candebug.9 b/share/man/man9/p_candebug.9
--- a/share/man/man9/p_candebug.9
+++ b/share/man/man9/p_candebug.9
@@ -113,9 +113,9 @@
is not visible to thread
.Fa td
as determined by
-.Xr cr_seeotheruids 9
+.Xr cr_canseeotheruids 9
or
-.Xr cr_seeothergids 9 .
+.Xr cr_canseeothergids 9 .
.It Bq Er ESRCH
Thread
.Fa td
@@ -129,8 +129,8 @@
.Sh SEE ALSO
.Xr jail 2 ,
.Xr sysctl 8 ,
-.Xr cr_seeothergids 9 ,
-.Xr cr_seeotheruids 9 ,
+.Xr cr_canseeothergids 9 ,
+.Xr cr_canseeotheruids 9 ,
.Xr mac 9 ,
.Xr p_cansee 9 ,
.Xr prison_check 9
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 21, 5:18 AM (18 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17635948
Default Alt Text
D40630.diff (3 KB)
Attached To
Mode
D40630: cr_canseeotheruids(), cr_canseeothergids(): Man pages: Impacts of rename
Attached
Detach File
Event Timeline
Log In to Comment