函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\loadpin\loadpin.c Create Date:2022-07-27 21:49:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:report_load

函数原型:static void report_load(const char *origin, struct file *file, char *operation)

返回类型:void

参数:

类型参数名称
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  打印注释信息("%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(当前进程), cmdline ? "\"" : "", cmdline, cmdline ? "\"" : "")
35  释放内存
36  释放内存
调用者
名称描述
loadpin_read_file