函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\smack\smack_lsm.c Create Date:2022-07-27 20:51:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:smack_of_ipc - the smack pointer for the ipc*@isp: the object* Returns a pointer to the smack value

函数原型:static struct smack_known *smack_of_ipc(struct kern_ipc_perm *isp)

返回类型:struct smack_known

参数:

类型参数名称
struct kern_ipc_perm *isp
2912  blob等于smack_ipc(isp)
2914  返回:blob
调用者
名称描述
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