diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2015-02-09 04:06:14 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2015-02-09 04:06:14 +0000 |
commit | 03c7e6c45365adada15121862f721a60994d9060 (patch) | |
tree | 61ab71d7f2e3c2efd6ee27e114f84dd5653167e1 /sys | |
parent | 9a4f13258d5118763e4ab73bee1aa4122924c6c2 (diff) |
make the %b format args easier (for me) to read.
ok guenther@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/proc.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 894d0f6e793..92dbc1e3ed6 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: proc.h,v 1.196 2015/02/09 03:46:12 dlg Exp $ */ +/* $OpenBSD: proc.h,v 1.197 2015/02/09 04:06:13 dlg Exp $ */ /* $NetBSD: proc.h,v 1.44 1996/04/22 01:23:21 christos Exp $ */ /*- @@ -253,10 +253,11 @@ struct process { #define PS_NOBROADCASTKILL 0x00080000 /* Process excluded from kill -1. */ #define PS_BITS \ - ("\20\01CONTROLT\02EXEC\03INEXEC\04EXITING\05SUGID" \ - "\06SUGIDEXEC\07PPWAIT\010ISPWAIT\011PROFIL\012TRACED" \ - "\013WAITED\014COREDUMP\015SINGLEEXIT\016SINGLEUNWIND" \ - "\017NOZOMBIE\020STOPPED\021SYSTEM\022EMBRYO\023ZOMBIE\024NOBROADCASTKILL") + ("\20" "\01CONTROLT" "\02EXEC" "\03INEXEC" "\04EXITING" "\05SUGID" \ + "\06SUGIDEXEC" "\07PPWAIT" "\010ISPWAIT" "\011PROFIL" "\012TRACED" \ + "\013WAITED" "\014COREDUMP" "\015SINGLEEXIT" "\016SINGLEUNWIND" \ + "\017NOZOMBIE" "\020STOPPED" "\021SYSTEM" "\022EMBRYO" "\023ZOMBIE" \ + "\024NOBROADCASTKILL") struct proc { @@ -380,11 +381,10 @@ struct proc { #define P_CPUPEG 0x40000000 /* Do not move to another cpu. */ #define P_BITS \ - ("\20\01INKTR\02PROFPEND\03ALRMPEND\04SIGSUSPEND\05CANTSLEEP\07SELECT" \ - "\010SINTR\012SYSTEM" \ - "\013TIMEOUT\016WEXIT\020OWEUPC\024SUSPSINGLE" \ - "\027SYSTRACE\030CONTINUED\033THREAD" \ - "\034SUSPSIG\035SOFTDEP\037CPUPEG") + ("\20" "\01INKTR" "\02PROFPEND" "\03ALRMPEND" "\04SIGSUSPEND" \ + "\05CANTSLEEP" "\07SELECT" "\010SINTR" "\012SYSTEM" "\013TIMEOUT" \ + "\016WEXIT" "\020OWEUPC" "\024SUSPSINGLE" "\027SYSTRACE" \ + "\030CONTINUED" "\033THREAD" "\034SUSPSIG" \035SOFTDEP" "\037CPUPEG") #define THREAD_PID_OFFSET 1000000 |