Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\ptrace.h Create Date:2022-07-28 05:49:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ptrace_event - possibly stop for a ptrace event notification*@event: %PTRACE_EVENT_* value to report*@message: value for %PTRACE_GETEVENTMSG to return* Check whether @event is enabled and, if so, report @event and @message* to the ptrace parent.

Proto:static inline void ptrace_event(int event, unsigned long message)

Type:void

Parameter:

TypeParameterName
intevent
unsigned longmessage
157  If Value for the false possibility is greater at compile time(ptrace_event_enabled - test whether a ptrace event is enabled*@task: ptracee of interest*@event: %PTRACE_EVENT_* to test* Test whether @event is enabled for ptracee @task.* Returns %true if @event is enabled, %false otherwise.) Then
158  ptrace_message = message
159  ptrace_notify((event << 8) | SIGTRAP)
160  Else if event == PTRACE_EVENT_EXEC Then
162  If (ptrace & (PT_PTRACED | SEIZE used, enable new behavior )) == PT_PTRACED Then send_sig(SIGTRAP, current process, 0)
Caller
NameDescribe
do_exit
exec_binprm