aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/wmi.h
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@dell.com>2017-11-01 14:25:34 -0500
committerDarren Hart (VMware) <dvhart@infradead.org>2017-11-03 16:34:00 -0700
commit1f8543a5d602b816b9b64a62cafd6caae2af4ca6 (patch)
tree5d06789d37efc746d748ac4d127de54a45916c9f /include/linux/wmi.h
parentplatform/x86: dell-smbios-smm: test for WSMT (diff)
downloadlinux-dev-1f8543a5d602b816b9b64a62cafd6caae2af4ca6.tar.xz
linux-dev-1f8543a5d602b816b9b64a62cafd6caae2af4ca6.zip
platform/x86: dell-smbios: Add filtering support
When a userspace interface is introduced to dell-smbios filtering support will be used to make sure that userspace doesn't make calls deemed unsafe or that can cause the kernel drivers to get out of sync. A blacklist is provided for the following: - Items that are in use by other kernel drivers - Items that are deemed unsafe (diagnostics, write-once, etc) - Any items in the blacklist will be rejected. Following that a whitelist is provided as follows: - Each item has an associated capability. If a userspace interface accesses this item, that capability will be tested to filter the request. - If the process provides CAP_SYS_RAWIO the whitelist will be overridden. When an item is not in the blacklist, or whitelist and the process is run with insufficient capabilities the call will be rejected. Signed-off-by: Mario Limonciello <mario.limonciello@dell.com> Reviewed-by: Edward O'Callaghan <quasisec@google.com> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'include/linux/wmi.h')
0 files changed, 0 insertions, 0 deletions