函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:socket security operations

函数原型:static int socket_sockcreate_sid(const struct task_security_struct *tsec, u16 secclass, unsigned int *socksid)

返回类型:int

参数:

类型参数名称
const struct task_security_struct *tsec
u16secclass
unsigned int *socksid
4479  如果 fscreate SID 大于unspecified SID
4480  socksid等于 fscreate SID
4481  返回:0
4484  返回:security_transition_sid( & selinux_state, current SID , current SID , secclass, NULL, socksid)
调用者
名称描述
selinux_socket_create
selinux_socket_post_create