函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:There used to be a smack_release_secctx hook* that did nothing back when hooks were in a vector.* Now that there's a list such a hook adds cost.

函数原型:static int smack_inode_notifysecctx(struct inode *inode, void *ctx, unsigned int ctxlen)

返回类型:int

参数:

类型参数名称
struct inode *inode
void *ctx
unsigned intctxlen
4490  返回:smack_inode_setsecurity - set smack xattrs*@inode: the object*@name: attribute name*@value: attribute value*@size: size of the attribute*@flags: unused* Sets the named attribute in the appropriate blob* Returns 0 on success, or an error code