aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2017-08-09 20:43:17 -0700
committerKees Cook <[email protected]>2017-08-17 16:28:37 -0700
commitd7caa33687cea218b6d68beea89d10a45a901e19 (patch)
tree734350f4d0037478c7064db3a5f637ececc6fca7 /tools/perf/scripts/python/export-to-postgresql.py
parent520eccdfe187591a51ea9ab4c1a024ae4d0f68d9 (diff)
pstore: Make default pstorefs root dir perms 0750
Currently only DMESG and CONSOLE record types are protected, and it isn't obvious that they are using a capability check. Instead switch to explicit root directory mode of 0750 to keep files private by default. This will allow the removal of the capability check, which was non-obvious and forces a process to have possibly too much privilege when simple post-boot chgrp for readers would be possible without it. Signed-off-by: Kees Cook <[email protected]> Reviewed-by: Sergey Senozhatsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions