Function Report

Linux Kernel (v4.4)

Source File:include\linux\sched.h Create Date:2016-01-14 09:13:45
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:clear_tsk_thread_flag

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

Return Type:static inline void

Parameter:

Type Parameter NameRemarks
struct task_struct * tsk
int flag

Function description:

2859  clear_ti_thread_flag(task_thread_info, flag)
Caller
Function NameFunction description
clear_tsk_need_resched
propagate_user_return_notify
clear_user_return_notifier
do_debugOur handling of the processor debug registers is non-trivial.
set_flags
ptrace_disableCalled by kernel/ptrace.c when detaching..
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_detach
ptrace_resume
flush_signalsFlush all pending signals for this kthread.
audit_alloc allocate an audit context block for a task
uprobe_deny_signalIf we are singlestepping, then ensure this thread is not connected to non-fatal signals until completion of singlestep
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