summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti
diff options
context:
space:
mode:
authorxu xin <xu.xin16@zte.com.cn>2022-04-29 23:38:03 +0200
committerakpm <akpm@linux-foundation.org>2022-04-29 23:38:03 +0200
commitedc73c7261ca3ea79867437bb0b9dab0e232436c (patch)
tree52acb8238e906a56dd3c3d8cef6dd236750fd3f4 /drivers/net/ethernet/ti
parenttaskstats: version 12 with thread group and exe info (diff)
downloadlinux-edc73c7261ca3ea79867437bb0b9dab0e232436c.tar.xz
linux-edc73c7261ca3ea79867437bb0b9dab0e232436c.zip
kernel: make taskstats available from all net namespaces
If getdelays runs in a non-init network namespace, it will fail in getting delayacct stats even if it has privilege of root user, which seems to be not very reasonable. We can simply reproduce this by executing commands: unshare -n getdelays -d -p <pid> I don't think net namespace should be an obstacle to the normal execution of getdelay function. So let's make it available from all net namespaces. Link: https://lkml.kernel.org/r/20220412071946.2532318-1-xu.xin16@zte.com.cn Signed-off-by: xu xin <xu.xin16@zte.com.cn> Cc: Balbir Singh <bsingharora@gmail.com> Cc: Yang Yang <yang.yang29@zte.com.cn> Cc: "Dr. Thomas Orgis" <thomas.orgis@uni-hamburg.de> Cc: Eric W. Biederman <ebiederm@xmission.com> Cc: Ismael Luceno <ismael@iodev.co.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/net/ethernet/ti')
0 files changed, 0 insertions, 0 deletions