diff options
author | Dmitry Baryshkov <[email protected]> | 2024-03-14 03:10:41 +0200 |
---|---|---|
committer | Abhinav Kumar <[email protected]> | 2024-03-29 13:28:48 -0700 |
commit | 4f3b77ae5ff5b5ba9d99c5d5450db388dbee5107 (patch) | |
tree | 4bf1fd0c36fa9f17cb0a7a955b61bff8b665665a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c588f7d67044d6d59ef92d75a970b64929984d89 (diff) |
drm/msm/dpu: don't allow overriding data from catalog
The data from catalog is marked as const, so it is a part of the RO
segment. Allowing userspace to write to it through debugfs can cause
protection faults. Set debugfs file mode to read-only for debug entries
corresponding to perf_cfg coming from catalog.
Fixes: abda0d925f9c ("drm/msm/dpu: Mark various data tables as const")
Signed-off-by: Dmitry Baryshkov <[email protected]>
Reviewed-by: Abhinav Kumar <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/582844/
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Abhinav Kumar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions