Patch from Russell Coker:
I've attached my latest SE Linux patch for busybox against the latest CVS version of busybox.
This commit is contained in:
@ -501,7 +501,11 @@ int top_main(int argc, char **argv)
|
||||
/* read process IDs & status for all the processes */
|
||||
procps_status_t * p;
|
||||
|
||||
#ifdef CONFIG_SELINUX
|
||||
while ((p = procps_scan(0, 0, NULL) ) != 0) {
|
||||
#else
|
||||
while ((p = procps_scan(0)) != 0) {
|
||||
#endif
|
||||
int n = ntop;
|
||||
|
||||
top = xrealloc(top, (++ntop)*sizeof(procps_status_t));
|
||||
|
Reference in New Issue
Block a user