aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMika Westerberg <[email protected]>2017-06-29 14:19:50 +0300
committerGreg Kroah-Hartman <[email protected]>2017-07-17 15:55:08 +0200
commit800161bd0209a8db77f66af283c379ff8d58d88d (patch)
treebf8ed2c9a581723f5879443fd0b35331649a24fe /tools/perf/util/trace-event-scripting.c
parent6463a4571ceefc43908df4b016d8d5d8b8e85357 (diff)
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 <[email protected]> Signed-off-by: Mika Westerberg <[email protected]> Signed-off-by: Andreas Noever <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions