Function report |
Source Code:security\loadpin\loadpin.c |
Create Date:2022-07-28 19:55:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:report_load
Proto:static void report_load(const char *origin, struct file *file, char *operation)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
const char * | origin | |
struct file * | file | |
char * | operation |
24 | pathname = Returns allocated NULL-terminated string containing pathname,* with special characters escaped, able to be safely logged. If* there is an error, the leading character will be "<". |
25 | cmdline = Returns allocated NULL-terminated string containing process* command line, with inter-argument NULLs replaced with spaces,* and other special characters escaped. |
27 | pr_notice("%s %s obj=%s%s%s pid=%d cmdline=%s%s%s\n", origin, operation, (pathname && pathname[0] != '<') ? "\"" : "", pathname, (pathname && pathname[0] != '<') ? "\"" : "", task_pid_nr(current process), cmdline ? "\"" : "", cmdline, cmdline ? "\"" : "") |
Name | Describe |
---|---|
loadpin_read_file |
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 |