Function report |
Source Code:security\tomoyo\condition.c |
Create Date:2022-07-28 19:37:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_scan_exec_realpath - Check "exec.realpath" parameter of "struct tomoyo_condition".*@file: Pointer to "struct file".*@ptr: Pointer to "struct tomoyo_name_union".*@match: True if "exec.realpath=", false if "exec.realpath!=".
Proto:static bool tomoyo_scan_exec_realpath(struct file *file, const struct tomoyo_name_union *ptr, const bool match)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file | |
const struct tomoyo_name_union * | ptr | |
const bool | match |
241 | If Not file Then Return false |
243 | name = tomoyo_realpath_from_path( & f_path) |
244 | If Not name Then Return false |
246 | tomoyo_fill_path_info( & exe) |
247 | result = tomoyo_compare_name_union( & exe, ptr) |
Name | Describe |
---|---|
tomoyo_condition | moyo_condition - Check condition part.*@r: Pointer to "struct tomoyo_request_info".*@cond: Pointer to "struct tomoyo_condition". Maybe NULL.* Returns true on success, false otherwise.* Caller holds tomoyo_read_lock(). |
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 |