diff options
author | Miles Bader <miles@gnu.org> | 1995-03-28 18:17:14 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-03-28 18:17:14 +0000 |
commit | 2f91e71b83a8e7e4100374ad717c531c491d73ea (patch) | |
tree | 2252d074a335ea7b6911512bf020c0e65ec3dd4e /libps | |
parent | 0795997fccfae312fac9502d46af75b8861e0294 (diff) |
Add the exec_flags field to the proc_stat structure, and add
PSTAT_STATE_TRACED.
Diffstat (limited to 'libps')
-rw-r--r-- | libps/ps.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -207,6 +207,9 @@ struct proc_stat thread_basic_info_data_t thread_basic_info; thread_sched_info_data_t thread_sched_info; + /* Exec flags (see EXEC_* in <hurd/hurd_types.h>). */ + int exec_flags; + /* A bitmask summarizing the scheduling state of this process and all its threads. See the PSTAT_STATE_ defines below for a list of bits. */ int state; @@ -268,6 +271,7 @@ struct proc_stat #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_NUM_THREADS PSTAT_INFO @@ -289,6 +293,7 @@ struct proc_stat #define PSTAT_STATE_NOMSG 0x2000 /* m no msg port */ #define PSTAT_STATE_NOPARENT 0x4000 /* p no parent */ #define PSTAT_STATE_ORPHANED 0x8000 /* o orphaned */ +#define PSTAT_STATE_TRACED 0x10000 /* x traced */ /* This is a constant string holding a single character for each possible bit |