Commit 99f82ed3 authored by Zheng Yejian's avatar Zheng Yejian
Browse files

netlabel: remove unused parameter in netlbl_netlink_auditinfo()

stable inclusion
from stable-v4.19.306
commit eb9743bdb23da4136fe3a39b61f3c2fa7f8276d8
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/I9Q9IT
CVE: CVE-2023-52698

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=eb9743bdb23da4136fe3a39b61f3c2fa7f8276d8



--------------------------------

[ Upstream commit f7e0318a ]

loginuid/sessionid/secid have been read from 'current' instead of struct
netlink_skb_parms, the parameter 'skb' seems no longer needed.

Fixes: c53fa1ed ("netlink: kill loginuid/sessionid/sid members from struct netlink_skb_parms")
Signed-off-by: default avatarZheng Yejian <zhengyejian1@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: ec4e9d630a64 ("calipso: fix memory leak in netlbl_calipso_add_pass()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 78d56f13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment