Source-Changes-HG archive

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

[src/netbsd-1-4]: src/bin/ps pull up rev 1.14 from trunk (requested by jdolec...



details:   https://anonhg.NetBSD.org/src/rev/be7991e23f69
branches:  netbsd-1-4
changeset: 469675:be7991e23f69
user:      cgd <cgd%NetBSD.org@localhost>
date:      Mon Nov 08 06:40:09 1999 +0000

description:
pull up rev 1.14 from trunk (requested by jdolecek):
  When using the procfs for extracting process information, extract process
  start time, arguments, and session leadership status.  Also, fall back to
  procfs when kvm_openfiles() completely fails (e.g. when /dev/mem is not
  readable).  Fixes PR#7772.

diffstat:

 bin/ps/extern.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 434b5bdc566a -r be7991e23f69 bin/ps/extern.h
--- a/bin/ps/extern.h   Mon Nov 08 06:26:44 1999 +0000
+++ b/bin/ps/extern.h   Mon Nov 08 06:40:09 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: extern.h,v 1.13 1999/03/26 22:36:02 bgrayson Exp $     */
+/*     $NetBSD: extern.h,v 1.13.2.1 1999/11/08 06:40:09 cgd Exp $      */
 
 /*-
  * Copyright (c) 1991, 1993, 1994
@@ -68,7 +68,8 @@
 void    pnice __P((KINFO *, VARENT *));
 void    pri __P((KINFO *, VARENT *));
 void    printheader __P((void));
-struct kinfo_proc *     procfs_getprocs __P((int, int, int*));
+KINFO  *getkinfo_procfs __P((int, int, int*));
+char   **procfs_getargv __P((const struct kinfo_proc *, int));
 void    pvar __P((KINFO *, VARENT *));
 void    rssize __P((KINFO *, VARENT *));
 void    runame __P((KINFO *, VARENT *));



Home | Main Index | Thread Index | Old Index