函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\hooks.c Create Date:2022-07-27 20:32:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:selinux_sk_clone_security

函数原型:static void selinux_sk_clone_security(const struct sock *sk, struct sock *newsk)

返回类型:void

参数:

类型参数名称
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)
调用者
名称描述
selinux_sctp_sk_cloneCalled whenever a new socket is created by accept(2) or sctp_peeloff(3).