Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:moyo_same_condition - Check for duplicated "struct tomoyo_condition" entry.*@a: Pointer to "struct tomoyo_condition".*@b: Pointer to "struct tomoyo_condition".* Returns true if @a == @b, false otherwise.

Proto:static inline bool tomoyo_same_condition(const struct tomoyo_condition *a, const struct tomoyo_condition *b)

Type:bool

Parameter:

TypeParameterName
const struct tomoyo_condition *a
const struct tomoyo_condition *b
360  Return Memory size allocated for this entry. == Memory size allocated for this entry. && Number of conditions in this struct. == Number of conditions in this struct. && Number of "struct tomoyo_number_union values". == Number of "struct tomoyo_number_union values". && Number of "struct tomoyo_name_union names". == Number of "struct tomoyo_name_union names". && Number of "struct tomoyo_argv". == Number of "struct tomoyo_argv". && Number of "struct tomoyo_envp". == Number of "struct tomoyo_envp". && One of values in "enum tomoyo_grant_log". == One of values in "enum tomoyo_grant_log". && Maybe NULL. == Maybe NULL. && Not memcmp(a + 1, b + 1, Memory size allocated for this entry. - size of a )
Caller
NameDescribe
tomoyo_commit_conditionmoyo_commit_condition - Commit "struct tomoyo_condition".*@entry: Pointer to "struct tomoyo_condition".* Returns pointer to "struct tomoyo_condition" on success, NULL otherwise.* This function merges duplicated entries. This function returns NULL if