aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2017-06-20 15:55:15 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2017-06-20 15:55:15 +0000
commite0fc433218da548d45e5426b2b12b4324f194bae (patch)
tree49822e7ebf8d371269c0959a92b16d90ce375131
parent517c4d2c30098c8ab687aff08effaec31f60d256 (diff)
downloadsrc-e0fc433218da548d45e5426b2b12b4324f194bae.tar.gz
src-e0fc433218da548d45e5426b2b12b4324f194bae.zip
MFC 319490: Remove stale cap_rights_get(2) manpage.
The documentation moved to section 3 several years ago, but 'man cap_rights_get' pulls up cap_rights_limit(2) (which is MLINKed to cap_rights_get.2) instead of cap_rights_get(3). Approved by: re (gjb)
Notes
Notes: svn path=/stable/11/; revision=320150
-rw-r--r--ObsoleteFiles.inc2
-rw-r--r--lib/libc/sys/Makefile.inc1
2 files changed, 2 insertions, 1 deletions
diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index 87396bdb8231..31aac760d1d7 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -38,6 +38,8 @@
# xargs -n1 | sort | uniq -d;
# done
+# 20170620: remove stale manpage
+OLD_FILES+=usr/share/man/man2/cap_rights_get.2.gz
# 20170531: remove pcap-int.h
OLD_FILES+=usr/include/pcap-int.h
# 20170402: new libc++ import which bumps version from 3.9.1 to 4.0.0.
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc
index 8ecfbbcd85a6..3a452cfb7891 100644
--- a/lib/libc/sys/Makefile.inc
+++ b/lib/libc/sys/Makefile.inc
@@ -337,7 +337,6 @@ MLINKS+=brk.2 sbrk.2
MLINKS+=cap_enter.2 cap_getmode.2
MLINKS+=cap_fcntls_limit.2 cap_fcntls_get.2
MLINKS+=cap_ioctls_limit.2 cap_ioctls_get.2
-MLINKS+=cap_rights_limit.2 cap_rights_get.2
MLINKS+=chdir.2 fchdir.2
MLINKS+=chflags.2 chflagsat.2 \
chflags.2 fchflags.2 \