diff options
author | Greg Kroah-Hartman <[email protected]> | 2017-12-06 09:50:08 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-12-06 19:31:39 +0100 |
commit | af97a77bc01ce49a466f9d4c0125479e2e2230b6 (patch) | |
tree | e8d3ff3054a46dac01463aff879e442de863413b /tools/perf/scripts/python/stackcollapse.py | |
parent | 328b4ed93b69a6f2083d52f31a240a09e5de386a (diff) |
efi: Move some sysfs files to be read-only by root
Thanks to the scripts/leaking_addresses.pl script, it was found that
some EFI values should not be readable by non-root users.
So make them root-only, and to do that, add a __ATTR_RO_MODE() macro to
make this easier, and use it in other places at the same time.
Reported-by: Linus Torvalds <[email protected]>
Tested-by: Dave Young <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Matt Fleming <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: stable <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions