From 4ee26e346663eb379be32b3b84b85251fa8007eb Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 5 Apr 1995 00:15:00 +0000 Subject: Add the PSTAT_NO_MSGPORT flag, which when set disables any use of the process's message port. --- libps/ps.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'libps') diff --git a/libps/ps.h b/libps/ps.h index 92c8856c..865073fe 100644 --- a/libps/ps.h +++ b/libps/ps.h @@ -270,11 +270,14 @@ struct proc_stat #define PSTAT_AUTH 0x2000 /* The proc's auth port. */ #define PSTAT_TTY 0x4000 /* A ps_tty_t for the proc's terminal.*/ #define PSTAT_OWNER 0x8000 /* A ps_user_t for the proc's owner. */ -#define PSTAT_UMASK 0x10000 /* The proc's current umask. */ -#define PSTAT_EXEC_FLAGS 0x20000 /* The process's exec flags. */ +#define PSTAT_UMASK 0x10000 /* The proc's current umask. */ +#define PSTAT_EXEC_FLAGS 0x20000 /* The process's exec flags. */ #define PSTAT_NUM_THREADS PSTAT_INFO +/* Flag bits that don't correspond precisely to any field. */ +#define PSTAT_NO_MSGPORT 0x100000 /* Don't use the msgport at all. */ + /* If the PSTAT_STATE flag is set, then the proc_stat's state field holds a bitmask of the following bits, describing the process's run state. */ #define PSTAT_STATE_RUNNING 0x0001 /* R */ @@ -301,7 +304,6 @@ struct proc_stat for printint a user-readable summary of a process's state. */ char *proc_stat_state_tags; - /* Process info accessor functions. -- cgit v1.2.3