diff options
| author | Casey Schaufler <[email protected]> | 2024-12-20 22:02:46 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2025-01-05 03:11:22 +0000 |
| commit | 3b44cd0998678b55a0df20b514bca0e298f4ff48 (patch) | |
| tree | 64449229b850dad9768d26e1433f1df8240bee3c /tools/testing/selftests/net/lib/py/utils.py | |
| parent | lsm: rename variable to avoid shadowing (diff) | |
| download | kernel-3b44cd0998678b55a0df20b514bca0e298f4ff48.tar.gz kernel-3b44cd0998678b55a0df20b514bca0e298f4ff48.zip | |
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 <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
