svn commit: r298840 - in head: . lib/libkvm
Garrett Cooper
ngie at FreeBSD.org
Sat Apr 30 09:21:15 UTC 2016
Author: ngie
Date: Sat Apr 30 09:21:13 2016
New Revision: 298840
URL: https://svnweb.freebsd.org/changeset/base/298840
Log:
Remove kvm_getfiles(3)
This libcall has been broken since (at least) r174989/8.0-RELEASE.
Bump SHLIB_MAJOR for the change
Differential Revision: https://reviews.freebsd.org/D6052
Relnotes: yes
Reviewed by: jhb, markj
Sponsored by: EMC / Isilon Storage Division
Deleted:
head/lib/libkvm/kvm_file.c
head/lib/libkvm/kvm_getfiles.3
Modified:
head/ObsoleteFiles.inc
head/lib/libkvm/Makefile
head/lib/libkvm/kvm.3
head/lib/libkvm/kvm.h
Modified: head/ObsoleteFiles.inc
==============================================================================
--- head/ObsoleteFiles.inc Sat Apr 30 09:13:26 2016 (r298839)
+++ head/ObsoleteFiles.inc Sat Apr 30 09:21:13 2016 (r298840)
@@ -38,6 +38,9 @@
# xargs -n1 | sort | uniq -d;
# done
+# 20160430: kvm_getfiles(3) removed from kvm(3)
+OLD_LIBS+=usr/lib/libkvm.so.6
+OLD_FILES+=usr/share/man/man3/kvm_getfiles.3.gz
# 20160423: remove mroute6d
OLD_FILES+=etc/rc.d/mroute6d
# 20160419: rename units.lib -> definitions.units
Modified: head/lib/libkvm/Makefile
==============================================================================
--- head/lib/libkvm/Makefile Sat Apr 30 09:13:26 2016 (r298839)
+++ head/lib/libkvm/Makefile Sat Apr 30 09:21:13 2016 (r298840)
@@ -5,12 +5,12 @@ PACKAGE=lib${LIB}
LIB= kvm
SHLIBDIR?= /lib
-SHLIB_MAJOR= 6
+SHLIB_MAJOR= 7
CFLAGS+=-DLIBC_SCCS -I${.CURDIR}
WARNS?= 3
-SRCS= kvm.c kvm_cptime.c kvm_file.c kvm_getloadavg.c \
+SRCS= kvm.c kvm_cptime.c kvm_getloadavg.c \
kvm_getswapinfo.c kvm_pcpu.c kvm_proc.c kvm_vnet.c \
kvm_minidump_aarch64.c \
kvm_amd64.c kvm_minidump_amd64.c \
@@ -23,7 +23,7 @@ INCS= kvm.h
LIBADD= elf
-MAN= kvm.3 kvm_getcptime.3 kvm_geterr.3 kvm_getfiles.3 kvm_getloadavg.3 \
+MAN= kvm.3 kvm_getcptime.3 kvm_geterr.3 kvm_getloadavg.3 \
kvm_getpcpu.3 kvm_getprocs.3 kvm_getswapinfo.3 kvm_native.3 \
kvm_nlist.3 kvm_open.3 kvm_read.3
Modified: head/lib/libkvm/kvm.3
==============================================================================
--- head/lib/libkvm/kvm.3 Sat Apr 30 09:13:26 2016 (r298839)
+++ head/lib/libkvm/kvm.3 Sat Apr 30 09:21:13 2016 (r298840)
@@ -32,7 +32,7 @@
.\" @(#)kvm.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd November 27, 2015
+.Dd April 30, 2016
.Dt KVM 3
.Os
.Sh NAME
@@ -144,7 +144,6 @@ and
.Xr kvm_getargv 3 ,
.Xr kvm_getenvv 3 ,
.Xr kvm_geterr 3 ,
-.Xr kvm_getfiles 3 ,
.Xr kvm_getloadavg 3 ,
.Xr kvm_getprocs 3 ,
.Xr kvm_getswapinfo 3 ,
Modified: head/lib/libkvm/kvm.h
==============================================================================
--- head/lib/libkvm/kvm.h Sat Apr 30 09:13:26 2016 (r298839)
+++ head/lib/libkvm/kvm.h Sat Apr 30 09:21:13 2016 (r298840)
@@ -82,7 +82,6 @@ char **kvm_getargv(kvm_t *, const struct
int kvm_getcptime(kvm_t *, long *);
char **kvm_getenvv(kvm_t *, const struct kinfo_proc *, int);
char *kvm_geterr(kvm_t *);
-char *kvm_getfiles(kvm_t *, int, int, int *);
int kvm_getloadavg(kvm_t *, double [], int);
int kvm_getmaxcpu(kvm_t *);
int kvm_getncpus(kvm_t *);
More information about the svn-src-head
mailing list