函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched.h Create Date:2022-07-27 06:58:36
Last Modify:2021-07-28 10:30:23 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Set thread flags in other task's structures.* See asm/thread_info.h for TIF_xxxx flags available:

函数原型:static inline void set_tsk_thread_flag(struct task_struct *tsk, int flag)

返回类型:void

参数:

类型参数名称
struct task_struct *tsk
intflag
1731  lag set/clear/test wrappers* - pass TIF_xxxx constants to these functions
调用者
名称描述
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
fpu__copy
enable_single_stepEnable single-stepping. Return nonzero if user mode is not using TF itself.
set_task_blockstep
task_update_spec_tif
ptrace_resume
recalc_sigpending_tsk
calculate_sigpending
signal_wake_up_stateTell a process that it has a new active signal
klp_start_transitionStart the transition to the specified target patch state so tasks can begin* switching to it.
audit_alloc安全审计
seccomp_assign_mode
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_registerRequest a notification when the current cpu returns to userspace. Must be* called in atomic context. The notifier will also be called in atomic* context.
context_tracking_cpu_set
restart_syscall
set_tsk_need_resched设置进程需要被调度出去的标志