Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched.h Create Date:2022-07-28 05:59:46
Last Modify:2021-07-28 10:30:23 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:clear_tsk_thread_flag

Proto:static inline void clear_tsk_thread_flag(struct task_struct *tsk, int flag)

Type:void

Parameter:

TypeParameterName
struct task_struct *tsk
intflag
1736  clear_ti_thread_flag(task_thread_info(tsk), flag)
Caller
NameDescribe
do_debugOur handling of the processor debug registers is non-trivial.* We do not clear them on entry and exit from the kernel. Therefore* it is possible to get a watchpoint trap here from inside the kernel.* However, the code in
speculation_ctrl_update_tif
task
enable_single_stepEnable single-stepping. Return nonzero if user mode is not using TF itself.
set_task_blockstep
user_disable_single_step
copy_processCreate a new process
__exit_signalThis function expects the tasklist_lock write-locked.
__ptrace_unlink__ptrace_unlink - unlink ptracee and restore its execution state*@child: ptracee to be unlinked* Remove @child from the ptrace list, move it back to the original parent,* and restore the execution state so that it conforms to the group stop* state
ptrace_resume
flush_signalsFlush all pending signals for this kthread.
klp_try_switch_taskTry to safely switch a task to the target patch state. If it's currently* running, or it's sleeping on a to-be-patched or to-be-unpatched function, or* if the stack is unreliable, return false.
klp_try_complete_transitionTry to switch all remaining tasks to the target patch state by walking the* stacks of sleeping tasks and looking for any to-be-patched or* to-be-unpatched functions. If such functions are found, the task can't be* switched yet.
klp_reverse_transitionThis function can be called in the middle of an existing transition to* reverse the direction of the target patch state. This can be done to* effectively cancel an existing enable or disable operation if there are any
audit_allocaudit_alloc - allocate an audit context block for a task*@tsk: task* Filter on the task information and allocate a per-task audit context* if necessary. Doing so turns on system call auditing for the* specified task
uprobe_deny_signalIf we are singlestepping, then ensure this thread is not connected to* non-fatal signals until completion of singlestep. When xol insn itself* triggers the signal, restart the original insn even if the task is
user_return_notifier_unregisterRemoves a registered user return notifier. Must be called from atomic* context, and from the same cpu registration occurred in.
zap_threads