From 98578e4f671e4b09a083d8ddd04b9596751a82b5 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 7 May 1996 00:47:03 +0000 Subject: (add_preconditions, proc_stat_set_flags): Remove references to exec_flags. --- libps/procstat.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'libps') 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 ). */ - 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))) { -- cgit v1.2.3