Source-Changes-HG archive

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

[src/trunk]: src/lib/libkvm Fill in e_sid when building the eproc from a cras...



details:   https://anonhg.NetBSD.org/src/rev/83b2b4bba8e2
branches:  trunk
changeset: 484939:83b2b4bba8e2
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat Apr 15 15:52:52 2000 +0000

description:
Fill in e_sid when building the eproc from a crash dump.

diffstat:

 lib/libkvm/kvm_proc.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 603839f97009 -r 83b2b4bba8e2 lib/libkvm/kvm_proc.c
--- a/lib/libkvm/kvm_proc.c     Sat Apr 15 13:17:02 2000 +0000
+++ b/lib/libkvm/kvm_proc.c     Sat Apr 15 15:52:52 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kvm_proc.c,v 1.32 2000/01/15 19:16:32 chs Exp $        */
+/*     $NetBSD: kvm_proc.c,v 1.33 2000/04/15 15:52:52 simonb Exp $     */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
 #if 0
 static char sccsid[] = "@(#)kvm_proc.c 8.3 (Berkeley) 9/23/93";
 #else
-__RCSID("$NetBSD: kvm_proc.c,v 1.32 2000/01/15 19:16:32 chs Exp $");
+__RCSID("$NetBSD: kvm_proc.c,v 1.33 2000/04/15 15:52:52 simonb Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -319,6 +319,7 @@
                } else
                        eproc.e_tdev = NODEV;
                eproc.e_flag = sess.s_ttyvp ? EPROC_CTTY : 0;
+               eproc.e_sid = sess.s_sid;
                if (sess.s_leader == p)
                        eproc.e_flag |= EPROC_SLEADER;
                if (proc.p_wmesg)



Home | Main Index | Thread Index | Old Index