summaryrefslogtreecommitdiff
path: root/term
diff options
context:
space:
mode:
authorJeremie Koenig <jk@jk.fr.eu.org>2010-08-25 14:31:57 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-08-26 23:52:38 +0200
commit818edad80ccf91825554f0088e2e3d8a0c5a6785 (patch)
treebd79272646adf10fcd608c011cbb475e12d8dd4e /term
parent9ad43da4ff755b8e48e1b2f51271766061541dac (diff)
libps (fetch_procinfo): Fix non-set flag PSTAT_TASK_EVENTS
The fetch_procinfo function failed to set the PSTAT_TASK_EVENTS when those has been retreived. It should be noted that GNU Mach does not support the TASK_EVENTS_INFO flavor, so this is of minor importance. The new code also checks that all the requested proc server flags related to a given proc_stat flags have been returned before setting the proc_stat flag in question. * libps/procstat.c (fetch_procinfo): Add map array containing `ps_flags_t' and `procinfo' flags. Use it in a loop to check for flags in `need' and `have' and set them in `pi_flags'. Likewise to check for flags in `pi_flags' and set them in `have'.
Diffstat (limited to 'term')
0 files changed, 0 insertions, 0 deletions