Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:socket security operations

Proto:static int socket_sockcreate_sid(const struct task_security_struct *tsec, u16 secclass, unsigned int *socksid)

Type:int

Parameter:

TypeParameterName
const struct task_security_struct *tsec
u16secclass
unsigned int *socksid
4479  If fscreate SID > unspecified SID Then
4480  socksid = fscreate SID
4481  Return 0
4484  Return security_transition_sid( & selinux_state, current SID , current SID , secclass, NULL, socksid)
Caller
NameDescribe
selinux_socket_create
selinux_socket_post_create