函数逻辑报告 |
Source Code:kernel\signal.c |
Create Date:2022-07-27 10:15:09 |
| Last Modify:2020-03-17 13:28:47 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:ask_set_jobctl_pending - set jobctl pending bits*@task: target task*@mask: pending bits to set* Clear @mask from @task->jobctl. @mask must be subset of* %JOBCTL_PENDING_MASK | %JOBCTL_STOP_CONSUME | %JOBCTL_STOP_SIGMASK |* %JOBCTL_TRAPPING
函数原型:bool task_set_jobctl_pending(struct task_struct *task, unsigned long mask)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct task_struct * | task | |
| unsigned long | mask |
| 287 | BUG_ON(mask & ~(JOBCTL_PENDING_MASK | JOBCTL_STOP_CONSUME | signr of the last group stop | JOBCTL_TRAPPING)) |
| 289 | BUG_ON((mask & JOBCTL_TRAPPING) && !(mask & JOBCTL_PENDING_MASK)) |
| 291 | 如果此条件成立可能性小(为编译器优化)(fatal_signal_pending(task) || (任务标志 & Getting shut down ))则返回:false |
| 294 | 如果mask按位与signr of the last group stop 则 JOBCTL_*, siglock protected: 与等于signr of the last group stop 的反 |
| 297 | JOBCTL_*, siglock protected: 或等于mask |
| 298 | 返回:true |
| 名称 | 描述 |
|---|---|
| ptrace_request | |
| task_join_group_stop | |
| ptrace_trap_notify | ptrace_trap_notify - schedule trap to notify ptracer*@t: tracee wanting to notify tracer* This function schedules sticky ptrace trap which is cleared on the next* TRAP_STOP to notify ptracer of an event. @t must have been seized by* ptracer. |
| do_signal_stop | do_signal_stop - handle group stop for SIGSTOP and other stop signals*@signr: signr causing group stop if initiating* If %JOBCTL_STOP_PENDING is not set yet, initiate group stop with @signr* and participate in it |
| ptrace_attach | |
| ptrace_init_task | 调试跟踪初始化 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |