platform_system_core/toolbox
Christopher Ferris 78e08066f2 Always have ps output to stdout at least one line.
There is at least one app that assumes that you will always get at least
one line of output in stdout from ps.

To fix this, move error output to stdout, and move the check of whether
/proc can be opened until after the ps header is printed.

Bug: 26554285
Change-Id: I6d9342aafd5c6f728735507cdd87a48a8e0373ac
2016-01-28 16:08:08 -08:00
..
upstream-netbsd Lose du to toybox. 2015-09-14 10:37:52 -07:00
Android.mk Lose df to toybox. 2015-10-23 11:09:53 -07:00
bsd-compatibility.h Lose chown to toybox. 2015-01-15 13:47:00 -08:00
generate-input.h-labels.py $ANDROID_BUILD_TOP isn't set for continuous builds. 2015-03-25 21:18:43 -07:00
getevent.c Auto-generate the getevent labels from <linux/input.h>. 2015-03-25 17:34:22 -07:00
iftop.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
ioctl.c toolbox: ioctl: fix signedness on ioctl_nr 2015-04-01 15:46:20 -07:00
log.c Move liblog headers to system/core/include/log 2013-07-24 12:32:39 -07:00
MODULE_LICENSE_BSD auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
nandread.c Fix %llx to PRIx64 in nandread.c. 2014-06-25 16:37:18 -07:00
newfs_msdos.c toolbox: Fixed type mismatch for ioctl(BLKGETSIZE) 2015-03-30 10:17:29 -07:00
NOTICE Refresh toolbox. 2014-07-25 10:51:19 -07:00
prlimit.c toolbox: add prlimit command 2014-10-27 12:25:41 -07:00
ps.c Always have ps output to stdout at least one line. 2016-01-28 16:08:08 -08:00
r.c Fix missing #includes in system/core. 2014-12-29 12:24:25 -08:00
sendevent.c Fix missing #includes in system/core. 2014-12-29 12:24:25 -08:00
start.c Make start/stop warn if you're not root. 2015-06-05 17:01:01 -07:00
start_stop.cpp Make start/stop warn if you're not root. 2015-06-05 17:01:01 -07:00
stop.c Make start/stop warn if you're not root. 2015-06-05 17:01:01 -07:00
toolbox.c Improve toolbox SIGPIPE behavior. 2015-04-25 12:03:41 -07:00
top.c Improve top(1) compatibility and interactive usefulness. 2015-11-13 08:30:12 -08:00