aboutsummaryrefslogtreecommitdiff
path: root/toys/other/eject.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-10-31 13:42:34 -0700
committerRob Landley <rob@landley.net>2015-11-02 01:40:46 -0600
commit9d57762c921e77a7237981916d3109bbd3607891 (patch)
tree6d53451a19feb4958cf977db45e1eb3ce49fa6be /toys/other/eject.c
parent3c0f6a19a271a7b85d62fc85d0ac1c6f661849f2 (diff)
downloadtoybox-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/eject.c')
0 files changed, 0 insertions, 0 deletions