Function report |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-28 19:20:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:smack_inode_init_security - copy out the smack from an inode*@inode: the newly created inode*@dir: containing directory object*@qstr: unused*@name: where to put the attribute name*@value: where to put the attribute value*@len: where to put the length of
Proto:static int smack_inode_init_security(struct inode *inode, struct inode *dir, const struct qstr *qstr, const char **name, void **value, size_t *len)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | inode | |
struct inode * | dir | |
const struct qstr * | qstr | |
const char ** | name | |
void ** | value | |
size_t * | len |
986 | issp = smack_inode(inode) |
992 | If name Then name = XATTR_SMACK_SUFFIX |
1007 | If may > 0 && (may & Controls directory labeling ) != 0 && Is the directory transmuting? Then |
1020 | Return 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 |