Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_sem_associate

Proto:static int selinux_sem_associate(struct kern_ipc_perm *sma, int semflg)

Type:int

Parameter:

TypeParameterName
struct kern_ipc_perm *sma
intsemflg
6184  sid = get the subjective security ID of the current task
6186  isec = selinux_ipc(sma)
6188  type = LSM_AUDIT_DATA_IPC
6189  ipc_id = key
6191  Return avc_has_perm - Check permissions and perform any appropriate auditing