aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/mellanox
diff options
context:
space:
mode:
authorGravatar Vadim Pasternak <vadimp@nvidia.com> 2021-10-02 12:32:35 +0300
committerGravatar Hans de Goede <hdegoede@redhat.com> 2021-10-19 10:41:56 +0200
commit9d93d7877c9158d059028681b66a0c192f85c64d (patch)
tree3be167e3f2715e7244146c32bc3f1cccfa23d0eb /drivers/platform/mellanox
parentplatform/mellanox: mlxreg-io: Extend number of hwmon attributes (diff)
downloadlinux-9d93d7877c9158d059028681b66a0c192f85c64d.tar.gz
linux-9d93d7877c9158d059028681b66a0c192f85c64d.tar.bz2
linux-9d93d7877c9158d059028681b66a0c192f85c64d.zip
platform_data/mlxreg: Add new field for secured access
Extend structure 'mlxreg_core_data' with the field "secured". The purpose of this field is to restrict access to some attributes, if kernel is configured with security options, like: LOCK_DOWN_KERNEL_FORCE_CONFIDENTIALITY. Access to some attributes, which for example, allow burning of some hardware components, like FPGA, CPLD, SPI, etcetera can break the system. In case user does not want to allow such access, it can disable it by setting security options. Signed-off-by: Vadim Pasternak <vadimp@nvidia.com> Reviewed-by: Michael Shych <michaelsh@nvidia.com> Link: https://lore.kernel.org/r/20211002093238.3771419-7-vadimp@nvidia.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/mellanox')
0 files changed, 0 insertions, 0 deletions