diff options
author | Casey Schaufler <casey@schaufler-ca.com> | 2024-12-21 01:02:46 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2025-01-05 06:11:22 +0300 |
commit | 3b44cd0998678b55a0df20b514bca0e298f4ff48 (patch) | |
tree | 64449229b850dad9768d26e1433f1df8240bee3c /tools/perf/scripts/python/task-analyzer.py | |
parent | b00083aed484a2885bc92c6a7a85d7952c101d75 (diff) | |
download | linux-3b44cd0998678b55a0df20b514bca0e298f4ff48.tar.xz |
net: corrections for security_secid_to_secctx returns
security_secid_to_secctx() returns the size of the new context,
whereas previous versions provided that via a pointer parameter.
Correct the type of the value returned in nfqnl_get_sk_secctx()
and the check for error in netlbl_unlhsh_add(). Add an error
check.
Fixes: 2d470c778120 ("lsm: replace context+len with lsm_context")
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions