| Function report | 
| Source Code: security\smack\smackfs.c | Create Date:2022-07-28 19:26:34 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:smk_parse_rule - parse Smack rule from load string*@data: string to be parsed whose size is SMK_LOADLEN*@rule: Smack rule*@import: if non-zero, import labels* Returns 0 on success, -1 on errors.
Proto:static int smk_parse_rule(const char *data, struct smack_parsed_rule *rule, int import)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const char * | data | |
| struct smack_parsed_rule * | rule | |
| int | import | 
| 375 | Return rc | 
| Name | Describe | 
|---|---|
| smk_write_rules_list | smk_write_rules_list - write() for any /smack rule file*@file: file pointer, not actually used*@buf: where to get the data from*@count: bytes sent*@ppos: where to start - must be 0*@rule_list: the list of rules to write to*@rule_lock: lock for the rule | 
| smk_user_access | smk_user_access - handle access check transaction*@file: file pointer*@buf: data from user space*@count: bytes sent*@ppos: where to start - must be 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 |