Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:smack_sem_semop - Smack checks of semaphore operations*@isp: the object*@sops: unused*@nsops: unused*@alter: unused* Treated as read and write in all cases.* Returns 0 if access is allowed, error code otherwise

Proto:static int smack_sem_semop(struct kern_ipc_perm *isp, struct sembuf *sops, unsigned nsops, int alter)

Type:int

Parameter:

TypeParameterName
struct kern_ipc_perm *isp
struct sembuf *sops
unsignednsops
intalter
3112  Return smk_curacc_sem : check if current has access on sem*@isp : the object*@access : access requested* Returns 0 if current has the requested access, error code otherwise