Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\yama\yama_lsm.c Create Date:2022-07-28 19:55:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__report_access

Proto:static void __report_access(struct callback_head *work)

Type:void

Parameter:

TypeParameterName
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, process id, agent_cmd, process id)
65  kfree(agent_cmd)
66  kfree(target_cmd)
68  put_task_struct(agent)
69  put_task_struct(target)
70  kfree(info)