diff options
author | Elliott Hughes <enh@google.com> | 2015-10-31 13:42:34 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-11-02 01:40:46 -0600 |
commit | 9d57762c921e77a7237981916d3109bbd3607891 (patch) | |
tree | 6d53451a19feb4958cf977db45e1eb3ce49fa6be /toys/other/base64.c | |
parent | 3c0f6a19a271a7b85d62fc85d0ac1c6f661849f2 (diff) | |
download | toybox-9d57762c921e77a7237981916d3109bbd3607891.tar.gz |
Fix the ps -o CMD vs COMM distinction.
"comm" is the command name without arguments, and "cmd" the command
line including arguments. Confusingly, "command" is a synonym for
the *latter*, not the former.
This implementation of "comm" matches the GNU ps behavior where the
names are truncated, but Android historically used the full name
from /proc/pid/cmdline instead, so this patch isn't sufficient to
let us match the Android behavior.
Diffstat (limited to 'toys/other/base64.c')
0 files changed, 0 insertions, 0 deletions