diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-12-27 18:13:00 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-12-27 18:13:00 +0100 |
commit | a9278fb8b6c1d7e160b6f79f7f28f92f940d4918 (patch) | |
tree | b59f73ee83507efa2114c977aaeb7a429b30d959 /rootdir.c | |
parent | d4849e6ebdae76511eb370724f2a90be54e00d5c (diff) |
Revert "Do not use msgport information"
This reverts commit d9fc76bd4e8c9a459fad7152135b738496318415, as it breaks
/proc/pid/stat
Diffstat (limited to 'rootdir.c')
-rw-r--r-- | rootdir.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -52,8 +52,6 @@ get_boottime (struct ps_context *pc, struct timeval *tv) if (err) return err; - proc_stat_set_flags (ps, PSTAT_NO_MSGPORT); - err = proc_stat_set_flags (ps, PSTAT_TASK_BASIC); if (err || !(proc_stat_flags (ps) & PSTAT_TASK_BASIC)) err = EIO; @@ -84,8 +82,6 @@ get_idletime (struct ps_context *pc, struct timeval *tv) pst = NULL, tbi = NULL; - proc_stat_set_flags (ps, PSTAT_NO_MSGPORT); - err = proc_stat_set_flags (ps, PSTAT_NUM_THREADS); if (err || !(proc_stat_flags (ps) & PSTAT_NUM_THREADS)) { @@ -364,8 +360,6 @@ rootdir_gc_cmdline (void *hook, char **contents, ssize_t *contents_len) if (err) return EIO; - proc_stat_set_flags (ps, PSTAT_NO_MSGPORT); - err = proc_stat_set_flags (ps, PSTAT_ARGS); if (err || ! (proc_stat_flags (ps) & PSTAT_ARGS)) { |