mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
Issue description: - Some privileged ioctl commands lack capability checks, so a malicious user can configure ethernet HW with those ioctl commands. Fix description: - Revisited all ioctl commands in nvethernet and added missing capability checks for privileged ioctl commands. Jira NET-2865 Signed-off-by: Zhongjie Wang <zhowang@nvidia.com> Change-Id: Idae1d72f205ca24a02693274668cdff58f4d12e9 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3337486 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: Srinivas Ramachandran <srinivasra@nvidia.com>