OSDN Git Service

Decode netlink sockets in lsof.
authorElliott Hughes <enh@google.com>
Tue, 6 Oct 2015 12:34:58 +0000 (07:34 -0500)
committerRob Landley <rob@landley.net>
Tue, 6 Oct 2015 12:34:58 +0000 (07:34 -0500)
commit8b94351f089f8e6ef0a4a12092bfe2f04ffd960a
tree1ed86dcd9e26b5377370cfb9f4a4bfb3e6c7eb08
parent661540a99f2c346d7fb2a4b83db2e31a7d204490
Decode netlink sockets in lsof.

Refactor the /proc/net parsing so this only adds 7 lines overall.

Also clear the DEVICE field for sockets and fix alignment for long
usernames (until someone implements the two-pass output that measures
columns).
toys/pending/lsof.c