diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-05-03 06:25:50 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-05-03 06:25:50 +0000 |
commit | 406bbe0151d55bb191d8f65e9dfb4b281c3396e8 (patch) | |
tree | fe97ec71775deb1f3078c6db0cb8db554bc6b76f /procps/top.c | |
parent | 6e34669c94a04dd5462996b1fdf85f7cbba02351 (diff) | |
download | busybox-w32-406bbe0151d55bb191d8f65e9dfb4b281c3396e8.tar.gz busybox-w32-406bbe0151d55bb191d8f65e9dfb4b281c3396e8.tar.bz2 busybox-w32-406bbe0151d55bb191d8f65e9dfb4b281c3396e8.zip |
A patch from Takeharu KATO to update/fix SE-Linux support.
git-svn-id: svn://busybox.net/trunk/busybox@10238 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'procps/top.c')
-rw-r--r-- | procps/top.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/procps/top.c b/procps/top.c index c0f78f794..369a408d8 100644 --- a/procps/top.c +++ b/procps/top.c | |||
@@ -510,11 +510,7 @@ int top_main(int argc, char **argv) | |||
510 | /* read process IDs & status for all the processes */ | 510 | /* read process IDs & status for all the processes */ |
511 | procps_status_t * p; | 511 | procps_status_t * p; |
512 | 512 | ||
513 | #ifdef CONFIG_SELINUX | ||
514 | while ((p = procps_scan(0, 0, NULL) ) != 0) { | ||
515 | #else | ||
516 | while ((p = procps_scan(0)) != 0) { | 513 | while ((p = procps_scan(0)) != 0) { |
517 | #endif | ||
518 | int n = ntop; | 514 | int n = ntop; |
519 | 515 | ||
520 | top = xrealloc(top, (++ntop)*sizeof(procps_status_t)); | 516 | top = xrealloc(top, (++ntop)*sizeof(procps_status_t)); |