Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_shm_shmat

Proto:static int selinux_shm_shmat(struct kern_ipc_perm *shp, char __user *shmaddr, int shmflg)

Type:int

Parameter:

TypeParameterName
struct kern_ipc_perm *shp
char __user *shmaddr
intshmflg
6152  If shmflg & ad-only access Then perms = SHM__READ
6154  Else perms = SHM__READ | SHM__WRITE
6157  Return ipc_has_perm(shp, perms)