Browse Source

Add rtable id and thread id to struct kinfo_proc (and fix process id)

and add an 'rtableid' keyword to ps.
Add rtable id, thread id, and socket splice info to struct kinfo_file2
and make fstat display socket splice information.
Remove old KVM_PROC2 and kinfo_proc2 interfaces; bump libkvm major
Socket splice info and corrections from bluhm@  "Lovely" deraadt@
OPENBSD_5_1
guenther 13 years ago
parent
commit
da4f3c5cb1
1 changed files with 1 additions and 12 deletions
  1. +1
    -12
      src/include/kvm.h

+ 1
- 12
src/include/kvm.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: kvm.h,v 1.15 2011/03/12 04:54:28 guenther Exp $ */
/* $OpenBSD: kvm.h,v 1.16 2012/01/07 05:38:12 guenther Exp $ */
/* $NetBSD: kvm.h,v 1.7 1996/04/19 12:02:50 leo Exp $ */ /* $NetBSD: kvm.h,v 1.7 1996/04/19 12:02:50 leo Exp $ */
/*- /*-
@ -76,17 +76,6 @@ ssize_t kvm_read(kvm_t *, unsigned long, void *, size_t)
ssize_t kvm_write(kvm_t *, unsigned long, const void *, size_t) ssize_t kvm_write(kvm_t *, unsigned long, const void *, size_t)
__attribute__((__bounded__(__buffer__,3,4))); __attribute__((__bounded__(__buffer__,3,4)));
/*
* Old names that will disappear in a few revisions
*/
#ifndef kinfo_proc2
#define kinfo_proc2 kinfo_proc
#endif
char **kvm_getargv2(kvm_t *, const struct kinfo_proc *, int);
char **kvm_getenvv2(kvm_t *, const struct kinfo_proc *, int);
struct kinfo_proc *
kvm_getproc2(kvm_t *, int, int, size_t, int *);
__END_DECLS __END_DECLS
#endif /* !_KVM_H_ */ #endif /* !_KVM_H_ */

Loading…
Cancel
Save