Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\common.c Create Date:2022-07-28 19:35:03
Last Modify:2020-03-18 09:15:18 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:moyo_write_task - Update task related list.*@param: Pointer to "struct tomoyo_acl_param".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock().

Proto:static int tomoyo_write_task(struct tomoyo_acl_param *param)

Type:int

Parameter:

TypeParameterName
struct tomoyo_acl_param *param
1063  error = -EINVAL
1065  If tomoyo_str_starts( & data, "manual_domain_transition ") Then
1066  struct tomoyo_task_acl e = { One of values in "enum tomoyo_acl_entry_type_index". = TOMOYO_TYPE_MANUAL_TASK_ACL, Pointer to domainname. = tomoyo_get_domainname(param), }
1071  If Pointer to domainname. Then error = moyo_update_domain - Update an entry for domain policy.*@new_entry: Pointer to "struct tomoyo_acl_info".*@size: Size of @new_entry in bytes.*@param: Pointer to "struct tomoyo_acl_param".*@check_duplicate: Callback function to find duplicated entry.
1075  moyo_put_name - Drop reference on "struct tomoyo_name".*@name: Pointer to "struct tomoyo_path_info". Maybe NULL.* Returns nothing.
1077  Return error