OSDN Git Service

Change the TNAME behavior to "Show parent argv[0]. If that's blank, showour argv...
authorRob Landley <rob@landley.net>
Thu, 9 Jun 2016 01:30:08 +0000 (20:30 -0500)
committerRob Landley <rob@landley.net>
Thu, 9 Jun 2016 01:30:08 +0000 (20:30 -0500)
commite02e41373ea3288b023e22629764ec02ce4aaee1
tree9b971e872a6d2d8ed7fd77f3bbd1188dcdaced2f
parent5786e0ddc59a1792399eaf39ff77dca8edf39721
Change the TNAME behavior to "Show parent argv[0]. If that's blank, showour argv[0]. If that's blank, show [stat2]."

That way threads show their parents, parents show themselves, and
kernel threads show the [stat2] name.
toys/posix/ps.c