Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:static int smack_inode_notifysecctx(struct inode *inode, void *ctx, unsigned int ctxlen)

Type:int

Parameter:

TypeParameterName
struct inode *inode
void *ctx
unsigned intctxlen
4490  Return 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