summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMickaël Salaün <mic@digikod.net>2025-01-13 17:11:09 +0100
committerMickaël Salaün <mic@digikod.net>2025-01-14 11:57:45 +0100
commitd32f79a59ae1a90f27735c75f9920c585e6ceb8f (patch)
tree636927204ec52ca5c2dfca4f547554e6340859b4 /tools/perf/scripts/python/exported-sql-viewer.py
parent25ccc75f5de6684fd6a497e44297497ccc7e0603 (diff)
landlock: Use scoped guards for ruleset
Simplify error handling by replacing goto statements with automatic calls to landlock_put_ruleset() when going out of scope. This change will be easy to backport to v6.6 if needed, only the kernel.h include line conflicts. As for any other similar changes, we should be careful when backporting without goto statements. Add missing include file. Reviewed-by: Günther Noack <gnoack@google.com> Link: https://lore.kernel.org/r/20250113161112.452505-2-mic@digikod.net Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions