Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys add proc_compare prototype.



details:   https://anonhg.NetBSD.org/src/rev/5d348b4151b8
branches:  trunk
changeset: 770538:5d348b4151b8
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Oct 21 02:07:07 2011 +0000

description:
add proc_compare prototype.

diffstat:

 sys/sys/proc.h   |  4 +++-
 sys/sys/sysctl.h |  4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r 93342d6ca504 -r 5d348b4151b8 sys/sys/proc.h
--- a/sys/sys/proc.h    Fri Oct 21 02:05:36 2011 +0000
+++ b/sys/sys/proc.h    Fri Oct 21 02:07:07 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: proc.h,v 1.310 2011/09/02 20:10:19 christos Exp $      */
+/*     $NetBSD: proc.h,v 1.311 2011/10/21 02:07:07 christos Exp $      */
 
 /*-
  * Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -507,6 +507,8 @@
 void   proc_finispecific(struct proc *);
 void * proc_getspecific(struct proc *, specificdata_key_t);
 void   proc_setspecific(struct proc *, specificdata_key_t, void *);
+int    proc_compare(const struct proc *, const struct lwp *,
+    const struct proc *, const struct lwp *);
 
 int    proclist_foreach_call(struct proclist *,
     int (*)(struct proc *, void *arg), void *);
diff -r 93342d6ca504 -r 5d348b4151b8 sys/sys/sysctl.h
--- a/sys/sys/sysctl.h  Fri Oct 21 02:05:36 2011 +0000
+++ b/sys/sys/sysctl.h  Fri Oct 21 02:07:07 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysctl.h,v 1.196 2011/10/12 23:04:22 dholland Exp $    */
+/*     $NetBSD: sysctl.h,v 1.197 2011/10/21 02:07:07 christos Exp $    */
 
 /*
  * Copyright (c) 1989, 1993
@@ -1219,6 +1219,8 @@
 int    sysctlgetmibinfo(const char *, int *, u_int *,
                         char *, size_t *, struct sysctlnode **, int);
 int    sysctlnametomib(const char *, int *, size_t *);
+int    proc_compare(const struct kinfo_proc2 *, const struct kinfo_lwp *,
+    const struct kinfo_proc2 *, const struct kinfo_lwp *);
 __END_DECLS
 
 #endif /* !_KERNEL */



Home | Main Index | Thread Index | Old Index