Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:moyo_condition_type - Get condition type.*@word: Keyword string.* Returns one of values in "enum tomoyo_conditions_index" on success,* TOMOYO_MAX_CONDITION_KEYWORD otherwise.

Proto:static u8 tomoyo_condition_type(const char *word)

Type:u8

Parameter:

TypeParameterName
const char *word
380  When i < TOMOYO_MAX_CONDITION_KEYWORD cycle
381  If Not strcmp(word, String table for conditions. [i]) Then Break
384  Return i
Caller
NameDescribe
tomoyo_get_conditionmoyo_get_condition - Parse condition part.*@param: Pointer to "struct tomoyo_acl_param".* Returns pointer to "struct tomoyo_condition" on success, NULL otherwise.