Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\hooks.c Create Date:2022-07-28 19:00:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:selinux_sk_clone_security

Proto:static void selinux_sk_clone_security(const struct sock *sk, struct sock *newsk)

Type:void

Parameter:

TypeParameterName
const struct sock *sk
struct sock *newsk
5163  sksec = sk_security
5164  newsksec = sk_security
5166  SID of this object = SID of this object
5167  SID of peer = SID of peer
5168  sock security class = sock security class
5170  selinux_netlbl_sk_security_reset(newsksec)
Caller
NameDescribe
selinux_sctp_sk_cloneCalled whenever a new socket is created by accept(2) or sctp_peeloff(3).