arm: tegra: tegratab: active-standby: add cmdline informatioin
authorchunx <chunx@nvidia.com>
Fri, 5 Jul 2013 03:42:05 +0000 (11:42 +0800)
committerGabby Lee <galee@nvidia.com>
Tue, 30 Jul 2013 10:20:49 +0000 (03:20 -0700)
commit5dcfe4f561bd8d1767e0938dfd7565b2b7718478
tree4b6e7776a488e4f132a8bd8a105b7111d6ca9ad8
parent61129a28e27bd4c5f794aa9af6903fd8ba68c746
arm: tegra: tegratab: active-standby: add cmdline informatioin
into /proc/net/{tcp udp tcp6 udp6} files.

Get process's cmdline from a sock's corresponding inode pointer,
 so that cmdline can't be used by Android active-standby app
to find the corresponding package name.

Bug 1185001

Change-Id: Idc8651e4bb85b8a152dfade9689a719f7d72687d
Signed-off-by: Chun Xu <chunx@nvidia.com>
Reviewed-on: http://git-master/r/253458
Tested-by: Jiukai Ma <jiukaim@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>
13 files changed:
fs/eventpoll.c
fs/proc/base.c
fs/select.c
include/linux/eventpoll.h
include/linux/poll.h
include/linux/sched.h
include/net/sock.h
net/core/sock.c
net/ipv4/tcp_ipv4.c
net/ipv4/udp.c
net/ipv6/tcp_ipv6.c
net/ipv6/udp.c
net/socket.c