From e0fc433218da548d45e5426b2b12b4324f194bae Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 20 Jun 2017 15:55:15 +0000 Subject: 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) --- ObsoleteFiles.inc | 2 ++ lib/libc/sys/Makefile.inc | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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 \ -- cgit v1.2.3