summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorStephen Smalley <stephen.smalley.work@gmail.com>2025-02-20 22:29:36 +0300
committerAnna Schumaker <anna.schumaker@oracle.com>2025-02-25 23:07:24 +0300
commit9084ed79ddaaaa1ec01cd304af9fb532c26252db (patch)
tree641ca5f17465cdc54df025981d040e051b6b597c /tools/perf/scripts/python/exported-sql-viewer.py
parent1f7a4f98c11fbeb18ed21f3b3a497e90a50ad2e0 (diff)
downloadlinux-9084ed79ddaaaa1ec01cd304af9fb532c26252db.tar.xz
lsm,nfs: fix memory leak of lsm_context
commit b530104f50e8 ("lsm: lsm_context in security_dentry_init_security") did not preserve the lsm id for subsequent release calls, which results in a memory leak. Fix it by saving the lsm id in the nfs4_label and providing it on the subsequent release call. Fixes: b530104f50e8 ("lsm: lsm_context in security_dentry_init_security") Signed-off-by: Stephen Smalley <stephen.smalley.work@gmail.com> Acked-by: Paul Moore <paul@paul-moore.com> Acked-by: Casey Schaufler <casey@schaufler-ca.com> Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions