summaryrefslogtreecommitdiff
path: root/libps
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-07 00:47:03 +0000
committerMiles Bader <miles@gnu.org>1996-05-07 00:47:03 +0000
commit98578e4f671e4b09a083d8ddd04b9596751a82b5 (patch)
tree37e2865d4e3cc9f4a3fbd9837f340408b84276c6 /libps
parent893c06b736a81c4be7ef3504466c9f2f95b98b36 (diff)
(add_preconditions, proc_stat_set_flags): Remove references to exec_flags.
Diffstat (limited to 'libps')
-rw-r--r--libps/procstat.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libps/procstat.c b/libps/procstat.c
index 09463413..84d81121 100644
--- a/libps/procstat.c
+++ b/libps/procstat.c
@@ -194,8 +194,7 @@ add_preconditions (ps_flags_t flags, struct ps_context *context)
/* We just request the resources require for both the thread and task
versions, as the extraneous info won't be possible to aquire anyway. */
flags |= PSTAT_TASK_BASIC | PSTAT_THREAD_BASIC;
- if (flags & (PSTAT_CTTYID | PSTAT_CWDIR | PSTAT_AUTH | PSTAT_UMASK
- | PSTAT_EXEC_FLAGS)
+ if (flags & (PSTAT_CTTYID | PSTAT_CWDIR | PSTAT_AUTH | PSTAT_UMASK)
&& !(flags & PSTAT_NO_MSGPORT))
{
flags |= PSTAT_MSGPORT;
@@ -677,10 +676,6 @@ proc_stat_set_flags (struct proc_stat *ps, ps_flags_t flags)
have |= PSTAT_TASK_EVENTS;
}
- /* Get the process's exec flags (see <hurd/hurd_types.h>). */
- MP_MGET (PSTAT_EXEC_FLAGS, PSTAT_TASK,
- ps_msg_get_exec_flags (ps->msgport, ps->task, &ps->exec_flags));
-
/* PSTAT_STATE_ bits for the process and all its threads. */
if ((need & PSTAT_STATE) && (have & (PSTAT_PROC_INFO | PSTAT_THREAD_BASIC)))
{