diff options
author | Miles Bader <miles@gnu.org> | 1995-04-05 00:15:00 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-04-05 00:15:00 +0000 |
commit | 4ee26e346663eb379be32b3b84b85251fa8007eb (patch) | |
tree | 6fff0015deb8118b3e1e8945f9e7fd418edec4f3 /libps | |
parent | bcc39f9124a6362f581aee2b89699efd1e546d8b (diff) |
Add the PSTAT_NO_MSGPORT flag, which when set disables any use of the
process's message port.
Diffstat (limited to 'libps')
-rw-r--r-- | libps/ps.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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. |