Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selnl_msglen

Proto:static int selnl_msglen(int msgtype)

Type:int

Parameter:

TypeParameterName
intmsgtype
26  ret = 0
29  Case msgtype == SELNL_MSG_SETENFORCE
30  ret = sizeof(structselnl_msg_setenforce)
31  Break
33  Case msgtype == SELNL_MSG_POLICYLOAD
34  ret = sizeof(structselnl_msg_policyload)
35  Break
37  Default
38  BUG()
40  Return ret
Caller
NameDescribe
selnl_notify