diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2013-10-22 16:40:29 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2013-10-22 16:40:29 +0000 |
commit | 1e8e86830088bc4916f73acb3ff1c803a22d0711 (patch) | |
tree | 559b7726aea1589415802d71831be8c99d19b13d /lib/libkvm/kvm_private.h | |
parent | d5e889686338eef83539b6067cc6fd1e27214fc8 (diff) |
- add UNIX-domain socket info to struct kinfo_file2
- convert netstat from kvm_getfiles() to kvm_getfile2() using that
- delete kvm_getfiles() and KERN_FILE as no longer used (bump libkvm's major)
- rename kvm_getfile2() to kvm_getfiles(), kinfo_file2 to kinfo_file
and KERN_FILE2 to KERN_FILE.
ok deraadt@, millert@
ports scan sthen@
Diffstat (limited to 'lib/libkvm/kvm_private.h')
-rw-r--r-- | lib/libkvm/kvm_private.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libkvm/kvm_private.h b/lib/libkvm/kvm_private.h index b25b7f0804c..409bace43ad 100644 --- a/lib/libkvm/kvm_private.h +++ b/lib/libkvm/kvm_private.h @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm_private.h,v 1.17 2011/03/12 04:54:28 guenther Exp $ */ +/* $OpenBSD: kvm_private.h,v 1.18 2013/10/22 16:40:27 guenther Exp $ */ /* $NetBSD: kvm_private.h,v 1.7 1996/05/05 04:32:15 gwr Exp $ */ /*- @@ -101,6 +101,6 @@ void *_kvm_realloc(kvm_t *kd, void *, size_t); void _kvm_syserr(kvm_t *kd, const char *program, const char *fmt, ...); ssize_t _kvm_pread(kvm_t *, int, void *, size_t, off_t); ssize_t _kvm_pwrite(kvm_t *, int, const void *, size_t, off_t); -int _kvm_stat_cd9660(kvm_t *, struct kinfo_file2 *, struct vnode *); -int _kvm_stat_udf(kvm_t *, struct kinfo_file2 *, struct vnode *); -int _kvm_stat_ntfs(kvm_t *, struct kinfo_file2 *, struct vnode *); +int _kvm_stat_cd9660(kvm_t *, struct kinfo_file *, struct vnode *); +int _kvm_stat_udf(kvm_t *, struct kinfo_file *, struct vnode *); +int _kvm_stat_ntfs(kvm_t *, struct kinfo_file *, struct vnode *); |