Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\domain.c Create Date:2022-07-28 19:39:49
Last Modify:2022-05-23 20:14:46 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:moyo_transition_type - Get domain transition type

Proto:static enum tomoyo_transition_type tomoyo_transition_type(const struct tomoyo_policy_namespace *ns, const struct tomoyo_path_info *domainname, const struct tomoyo_path_info *program)

Type:enum tomoyo_transition_type

Parameter:

TypeParameterName
const struct tomoyo_policy_namespace *ns
const struct tomoyo_path_info *domainname
const struct tomoyo_path_info *program
348  last_name = moyo_last_word - Get last component of a domainname.*@name: Domainname to check.* Returns the last word of @domainname.
349  type = TOMOYO_TRANSITION_CONTROL_NO_RESET
351  When type < TOMOYO_MAX_TRANSITION_TYPE cycle
352  list = List of policy. [TOMOYO_ID_TRANSITION_CONTROL]
357  type++
358  Continue
360  If type != TOMOYO_TRANSITION_CONTROL_NO_RESET && type != TOMOYO_TRANSITION_CONTROL_NO_INITIALIZE Then Break
368  type++
369  type++
371  Return type
Caller
NameDescribe
tomoyo_find_next_domainmoyo_find_next_domain - Find a domain.*@bprm: Pointer to "struct linux_binprm".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock().