summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/process.c b/process.c
index 6652a4e9..e812a1f1 100644
--- a/process.c
+++ b/process.c
@@ -362,6 +362,8 @@ process_lookup_pid (struct ps_context *pc, pid_t pid, struct node **np)
if (err)
return EIO;
+ proc_stat_set_flags (ps, PSTAT_NO_MSGPORT);
+
err = proc_stat_set_flags (ps, PSTAT_OWNER_UID);
if (err || ! (proc_stat_flags (ps) & PSTAT_OWNER_UID))
{