diff options
author | Mahesh Bandewar <maheshb@google.com> | 2015-06-18 11:30:54 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-23 03:11:52 -0700 |
commit | 4cd6b4754492c08f00e6237fd7e5c8b443370d15 (patch) | |
tree | 0ce370cb5df403d33052768ec5db283cc3448180 /include/net | |
parent | 1f02c09bc34a892b4a7c67e7ffa036b96794e69b (diff) | |
download | op-kernel-dev-4cd6b4754492c08f00e6237fd7e5c8b443370d15.zip op-kernel-dev-4cd6b4754492c08f00e6237fd7e5c8b443370d15.tar.gz |
bonding: Display LACP info only to CAP_NET_ADMIN capable user
Actor and Partner details can be accessed via proc-fs, sys-fs
entries or netlink interface. These interfaces are world readable
at this moment. The earlier patch-series made the LACP communication
secure to avoid nuisance attack from within the same L2 domain but
it did not prevent "someone unprivileged" looking at that information
on host and perform the same act.
This patch essentially avoids spitting those entries if the user
in question does not have enough privileges.
Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: Andy Gospodarek <gospo@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions