Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_inode_smack - initialize an inode security blob*@inode: inode to extract the info from*@skp: a pointer to the Smack label entry to use in the blob

Proto:static void init_inode_smack(struct inode *inode, struct smack_known *skp)

Type:void

Parameter:

TypeParameterName
struct inode *inode
struct smack_known *skp
315  isp = smack_inode(inode)
317  label of the fso = skp
318  smack inode flags = 0
319  mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & itialization lock )
Caller
NameDescribe
smack_set_mnt_optssmack_set_mnt_opts - set Smack specific mount options*@sb: the file system superblock*@mnt_opts: Smack mount options*@kern_flags: mount option from kernel space or user space*@set_kern_flags: where to store converted mount opts* Returns 0 on success, an
smack_inode_alloc_securitysmack_inode_alloc_security - allocate an inode blob*@inode: the inode in need of a blob* Returns 0