Function report |
Source Code:security\tomoyo\common.h |
Create Date:2022-07-28 19:32:38 |
Last Modify:2020-03-18 09:12:16 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static inline bool tomoyo_pathcmp(const struct tomoyo_path_info *a, const struct tomoyo_path_info *b)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
const struct tomoyo_path_info * | a | |
const struct tomoyo_path_info * | b |
1168 | Return = full_name_hash(name, strlen(name)) != = full_name_hash(name, strlen(name)) || strcmp(name, name) |
Name | Describe |
---|---|
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. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |