summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2017-06-20 15:55:15 +0000
committerjhb <jhb@FreeBSD.org>2017-06-20 15:55:15 +0000
commit67eef783d1dc4bb004caa8fc199a7d380a67865b (patch)
tree56acf1dbe34918369050738c29dc547fa39bbcbf
parenta68adef956b693874788cfbe0bca445e22ea4187 (diff)
downloadFreeBSD-src-67eef783d1dc4bb004caa8fc199a7d380a67865b.zip
FreeBSD-src-67eef783d1dc4bb004caa8fc199a7d380a67865b.tar.gz
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)
-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 5cab190..9ab5734 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
# 20170322: rename <x> to <x>_test to match the FreeBSD test suite name scheme
OLD_FILES+=usr/tests/usr.bin/col/col
OLD_FILES+=usr/tests/usr.sbin/pw/pw_config
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc
index e4c89d0..907d424 100644
--- a/lib/libc/sys/Makefile.inc
+++ b/lib/libc/sys/Makefile.inc
@@ -340,7 +340,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 \
OpenPOWER on IntegriCloud