函数逻辑报告 |
Source Code:security\tomoyo\common.h |
Create Date:2022-07-27 21:02:00 |
Last Modify:2020-03-18 09:12:16 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:moyo_pathcmp - strcmp() for "struct tomoyo_path_info" structure.*@a: Pointer to "struct tomoyo_path_info".*@b: Pointer to "struct tomoyo_path_info".* Returns true if @a == @b, false otherwise.
函数原型:static inline bool tomoyo_pathcmp(const struct tomoyo_path_info *a, const struct tomoyo_path_info *b)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct tomoyo_path_info * | a | |
const struct tomoyo_path_info * | b |
名称 | 描述 |
---|---|
tomoyo_manager | moyo_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(). |
tomoyo_delete_domain | moyo_delete_domain - Delete a domain.*@domainname: The name of domain.* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock(). |
tomoyo_scan_transition | moyo_scan_transition - Try to find specific domain transition type.*@list: Pointer to "struct list_head".*@domainname: The name of current domain.*@program: The name of requested program.*@last_name: The last component of @domainname. |
tomoyo_check_task_acl | moyo_check_task_acl - Check permission for task operation.*@r: Pointer to "struct tomoyo_request_info".*@ptr: Pointer to "struct tomoyo_acl_info".* Returns true if granted, false otherwise. |
tomoyo_find_domain | moyo_find_domain - Find a domain by the given name.*@domainname: The domainname to find.* Returns pointer to "struct tomoyo_domain_info" if found, NULL otherwise.* Caller holds tomoyo_read_lock(). |
tomoyo_path_matches_pattern | moyo_path_matches_pattern - Check whether the given filename matches the given pattern.*@filename: The filename to check.*@pattern: The pattern to compare.* Returns true if matches, false otherwise.* The following patterns are available.* \\ \ itself. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |