aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorCasey Schaufler <[email protected]>2024-12-20 22:02:46 +0000
committerPaul Moore <[email protected]>2025-01-05 03:11:22 +0000
commit3b44cd0998678b55a0df20b514bca0e298f4ff48 (patch)
tree64449229b850dad9768d26e1433f1df8240bee3c /security/selinux/hooks.c
parentlsm: rename variable to avoid shadowing (diff)
downloadkernel-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 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions