Function report |
Source Code:security\tomoyo\file.c |
Create Date:2022-07-28 19:41:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_update_mkdev_acl - Update "struct tomoyo_mkdev_acl" list.*@perm: Permission.*@param: Pointer to "struct tomoyo_acl_param".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock().
Proto:static int tomoyo_update_mkdev_acl(const u8 perm, struct tomoyo_acl_param *param)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const u8 | perm | |
struct tomoyo_acl_param * | param |
465 | struct tomoyo_mkdev_acl e = { One of values in "enum tomoyo_acl_entry_type_index". = TOMOYO_TYPE_MKDEV_ACL, Bitmask of values in "enum tomoyo_mkdev_acl_index". = perm} |
471 | If Not tomoyo_parse_name_union(param, & name) || Not tomoyo_parse_number_union(param, & mode) || Not tomoyo_parse_number_union(param, & major) || Not tomoyo_parse_number_union(param, & minor) Then error = -EINVAL |
484 | Return error |
Name | Describe |
---|---|
tomoyo_write_file | moyo_write_file - Update file related list.*@param: Pointer to "struct tomoyo_acl_param".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock(). |
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 |