Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_shm_associate

Proto:static int selinux_shm_associate(struct kern_ipc_perm *shp, int shmflg)

Type:int

Parameter:

TypeParameterName
struct kern_ipc_perm *shp
intshmflg
6099  sid = get the subjective security ID of the current task
6101  isec = selinux_ipc(shp)
6103  type = LSM_AUDIT_DATA_IPC
6104  ipc_id = key
6106  Return avc_has_perm - Check permissions and perform any appropriate auditing