Use the L_ flags instead of the P_ flags for lwps.
This commit is contained in:
parent
fc2c6c78f2
commit
ea936748e5
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: init_sysctl.c,v 1.175 2010/07/01 02:38:30 rmind Exp $ */
|
||||
/* $NetBSD: init_sysctl.c,v 1.176 2011/01/22 20:54:43 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2003, 2007, 2008, 2009 The NetBSD Foundation, Inc.
|
||||
|
@ -30,7 +30,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: init_sysctl.c,v 1.175 2010/07/01 02:38:30 rmind Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: init_sysctl.c,v 1.176 2011/01/22 20:54:43 christos Exp $");
|
||||
|
||||
#include "opt_sysv.h"
|
||||
#include "opt_compat_netbsd32.h"
|
||||
|
@ -140,9 +140,9 @@ static const u_int sysctl_stflagmap[] = {
|
|||
};
|
||||
|
||||
static const u_int sysctl_lwpflagmap[] = {
|
||||
LW_SINTR, P_SINTR,
|
||||
LW_SYSTEM, P_SYSTEM,
|
||||
LW_SA, P_SA, /* WRS ??? */
|
||||
LW_SINTR, L_SINTR,
|
||||
LW_SYSTEM, L_SYSTEM,
|
||||
LW_SA, L_SA, /* WRS ??? */
|
||||
0
|
||||
};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sysctl.h,v 1.189 2010/11/14 05:34:56 uebayasi Exp $ */
|
||||
/* $NetBSD: sysctl.h,v 1.190 2011/01/22 20:54:44 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -592,7 +592,8 @@ struct kinfo_proc2 {
|
|||
#define L_SINTR 0x00000080
|
||||
#define P_SINTR /* 0x00000080 */ L_SINTR
|
||||
#define P_SUGID 0x00000100
|
||||
#define P_SYSTEM 0x00000200
|
||||
#define L_SYSTEM 0x00000200
|
||||
#define P_SYSTEM /* 0x00000200 */ L_SYSTEM
|
||||
#define L_SA 0x00000400
|
||||
#define P_SA /* 0x00000400 */ L_SA
|
||||
#define P_TRACED 0x00000800
|
||||
|
|
Loading…
Reference in New Issue