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:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:smack_of_ipc - the smack pointer for the ipc*@isp: the object* Returns a pointer to the smack value

Proto:static struct smack_known *smack_of_ipc(struct kern_ipc_perm *isp)

Type:struct smack_known

Parameter:

TypeParameterName
struct kern_ipc_perm *isp
2912  blob = smack_ipc(isp)
2914  Return blob
Caller
NameDescribe
smk_curacc_shmsmk_curacc_shm : check if current has access on shm*@isp : the object*@access : access requested* Returns 0 if current has the requested access, error code otherwise
smk_curacc_semsmk_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
smk_curacc_msqsmk_curacc_msq : helper to check if current has access on msq*@isp : the msq*@access : access requested* return 0 if current has access, error otherwise