函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\common.c Create Date:2022-07-27 21:04:01
Last Modify:2020-03-18 09:15:18 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:moyo_same_manager - Check for duplicated "struct tomoyo_manager" entry.*@a: Pointer to "struct tomoyo_acl_head".*@b: Pointer to "struct tomoyo_acl_head".* Returns true if @a == @b, false otherwise.

函数原型:static bool tomoyo_same_manager(const struct tomoyo_acl_head *a, const struct tomoyo_acl_head *b)

返回类型:bool

参数:

类型参数名称
const struct tomoyo_acl_head *a
const struct tomoyo_acl_head *b
847  返回({
847  __mptr等于a
847  循环
847  当0循环
847  __mptr__builtin_offsetof(structmoyo_manager - Check whether the current process is a policy manager.* Returns true if the current process is permitted to modify policy* via /sys/kernel/security/tomoyo/ interface.* Caller holds tomoyo_read_lock()., head)
847  返回({})->manager == ({
848  __mptr等于b
848  循环
848  当0循环
848  __mptr__builtin_offsetof(structmoyo_manager - Check whether the current process is a policy manager.* Returns true if the current process is permitted to modify policy* via /sys/kernel/security/tomoyo/ interface.* Caller holds tomoyo_read_lock()., head)
848  })->manager