函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:smack_ipc

函数原型:static inline struct smack_known **smack_ipc(const struct kern_ipc_perm *ipc)

返回类型:struct smack_known

参数:

类型参数名称
const struct kern_ipc_perm *ipc
372  返回:securitylbs_ipc
调用者
名称描述
smack_of_ipcsmack_of_ipc - the smack pointer for the ipc*@isp: the object* Returns a pointer to the smack value
smack_ipc_alloc_securitysmack_ipc_alloc_security - Set the security blob for ipc*@isp: the object* Returns 0
smack_ipc_permissionsmack_ipc_permission - Smack access for ipc_permission()*@ipp: the object permissions*@flag: access requested* Returns 0 if current has read and write access, error code otherwise
smack_ipc_getsecidsmack_ipc_getsecid - Extract smack security id*@ipp: the object permissions*@secid: where result will be saved