diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2017-06-29 14:19:50 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-17 15:55:08 +0200 |
commit | 800161bd0209a8db77f66af283c379ff8d58d88d (patch) | |
tree | bf8ed2c9a581723f5879443fd0b35331649a24fe /Documentation/vm | |
parent | 6463a4571ceefc43908df4b016d8d5d8b8e85357 (diff) | |
download | linux-800161bd0209a8db77f66af283c379ff8d58d88d.tar.bz2 |
thunderbolt: Correct access permissions for active NVM contents
Firmware upgrade tools that decide which NVM image should be uploaded to
the Thunderbolt controller need to access active parts of the NVM even
if they are not run as root. The information in active NVM is not
considered security critical so we can use the default permissions set
by the NVMem framework.
Writing the NVM image is still left as root only operation.
While there mark the active NVM as read-only in the filesystem.
Reported-by: Yehezkel Bernat <yehezkel.bernat@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/vm')
0 files changed, 0 insertions, 0 deletions