Function report |
Source Code:security\tomoyo\condition.c |
Create Date:2022-07-28 19:37:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_argv - Check argv[] in "struct linux_binbrm".*@index: Index number of @arg_ptr.*@arg_ptr: Contents of argv[@index].*@argc: Length of @argv.*@argv: Pointer to "struct tomoyo_argv".*@checked: Set to true if @argv[@index] was found.
Proto:static bool tomoyo_argv(const unsigned int index, const char *arg_ptr, const int argc, const struct tomoyo_argv *argv, u8 *checked)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
const unsigned int | index | |
const char * | arg_ptr | |
const int | argc | |
const struct tomoyo_argv * | argv | |
u8 * | checked |
38 | checked = 1 |
39 | tomoyo_fill_path_info( & arg) |
43 | If Not result Then Return false |
46 | Return true |
Name | Describe |
---|---|
tomoyo_scan_bprm | moyo_scan_bprm - Scan "struct linux_binprm".*@ee: Pointer to "struct tomoyo_execve".*@argc: Length of @argc.*@argv: Pointer to "struct tomoyo_argv".*@envc: Length of @envp.*@envp: Poiner to "struct tomoyo_envp".* Returns true on success, false otherwise. |
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 |