Back out previous (p_flag2).
In 30 minutes from now Jason Thorpe will come up with an implementation of a proplib dictionary in struct proc, so adding an int doesn't really make any sense.
This commit is contained in:
parent
21d692155a
commit
5cb38e5a6c
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: init_sysctl.c,v 1.88 2006/10/03 11:23:32 elad Exp $ */
|
||||
/* $NetBSD: init_sysctl.c,v 1.89 2006/10/03 16:07:12 elad Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2003 The NetBSD Foundation, Inc.
|
||||
|
@ -37,7 +37,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: init_sysctl.c,v 1.88 2006/10/03 11:23:32 elad Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: init_sysctl.c,v 1.89 2006/10/03 16:07:12 elad Exp $");
|
||||
|
||||
#include "opt_sysv.h"
|
||||
#include "opt_multiprocessor.h"
|
||||
|
@ -2927,7 +2927,6 @@ fill_kproc2(struct proc *p, struct kinfo_proc2 *ki)
|
|||
ki->p_eflag = 0;
|
||||
ki->p_exitsig = p->p_exitsig;
|
||||
ki->p_flag = p->p_flag;
|
||||
ki->p_flag2 = p->p_flag2;
|
||||
|
||||
ki->p_pid = p->p_pid;
|
||||
if (p->p_pptr)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: proc.h,v 1.226 2006/10/03 11:23:32 elad Exp $ */
|
||||
/* $NetBSD: proc.h,v 1.227 2006/10/03 16:07:12 elad Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1986, 1989, 1991, 1993
|
||||
|
@ -185,7 +185,6 @@ struct proc {
|
|||
|
||||
int p_exitsig; /* signal to send to parent on exit */
|
||||
int p_flag; /* P_* flags. */
|
||||
int p_flag2; /* second batch of P_* flags. */
|
||||
char p_stat; /* S* process status. */
|
||||
char p_pad1[3];
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sysctl.h,v 1.158 2006/10/03 11:23:32 elad Exp $ */
|
||||
/* $NetBSD: sysctl.h,v 1.159 2006/10/03 16:07:12 elad Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -561,9 +561,6 @@ struct kinfo_proc2 {
|
|||
uint64_t p_realstat; /* LONG: non-LWP process status */
|
||||
uint32_t p_svuid; /* UID_T: saved user id */
|
||||
uint32_t p_svgid; /* GID_T: saved group id */
|
||||
|
||||
int32_t p_flag2; /* INT: second batch of P_* flags */
|
||||
int32_t p_pad; /* INT: unused, free for use */
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue