Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_sem_semop

Proto:static int selinux_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, unsigned nsops, int alter)

Type:int

Parameter:

TypeParameterName
struct kern_ipc_perm *sma
struct sembuf *sops
unsignednsops
intalter
6246  If alter Then perms = SEM__READ | SEM__WRITE
6248  Else perms = SEM__READ
6251  Return ipc_has_perm(sma, perms)