函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__report_access

函数原型:static void __report_access(struct callback_head *work)

返回类型:void

参数:

类型参数名称
struct callback_head *work
53  info等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(work, structaccess_report_info, work)
57  target_cmd等于Returns allocated NULL-terminated string containing process* command line, with inter-argument NULLs replaced with spaces,* and other special characters escaped.
58  agent_cmd等于Returns allocated NULL-terminated string containing process* command line, with inter-argument NULLs replaced with spaces,* and other special characters escaped.
60  pr_notice_ratelimited("ptrace %s of \"%s\"[%d] was attempted by \"%s\"[%d]\n", access, target_cmd, 进程ID, agent_cmd, 进程ID)
65  释放内存
66  释放内存
68  put_task_struct(agent)
69  put_task_struct(target)
70  释放内存