Function report |
Source Code:security\tomoyo\util.c |
Create Date:2022-07-28 19:48:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_get_exe - Get tomoyo_realpath() of current process.* Returns the tomoyo_realpath() of current process on success, NULL otherwise.* This function uses kzalloc(), so the caller must call kfree()* if this function didn't return NULL.
Proto:const char *tomoyo_get_exe(void)
Type:char
Parameter:Nothing
950 | If Not mm Then Return NULL |
952 | exe_file = get_mm_exe_file - acquire a reference to the mm's executable file* Returns %NULL if mm has no associated executable file.* User must release file via fput(). |
953 | If Not exe_file Then Return NULL |
956 | cp = moyo_realpath_from_path - Returns realpath(3) of the given pathname but ignores chroot'ed root |
958 | Return cp |
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 |