Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_msg_queue_associate

Proto:static int selinux_msg_queue_associate(struct kern_ipc_perm *msq, int msqflg)

Type:int

Parameter:

TypeParameterName
struct kern_ipc_perm *msq
intmsqflg
5960  sid = get the subjective security ID of the current task
5962  isec = selinux_ipc(msq)
5964  type = LSM_AUDIT_DATA_IPC
5965  ipc_id = key
5967  Return avc_has_perm - Check permissions and perform any appropriate auditing