Function report |
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 activity | Download SCCT | Chinese |
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:
Type | Parameter | Name |
---|---|---|
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 ) |
Name | Describe |
---|---|
smack_set_mnt_opts | smack_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_security | smack_inode_alloc_security - allocate an inode blob*@inode: the inode in need of a blob* Returns 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |