函数逻辑报告 |
Source Code:kernel\signal.c |
Create Date:2022-07-27 10:16:31 |
| Last Modify:2020-03-17 13:28:47 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:do_notify_parent_cldstop - notify parent of stopped/continued state change*@tsk: task reporting the state change*@for_ptracer: the notification is for ptracer*@why: CLD_{CONTINUED|STOPPED|TRAPPED} to report
函数原型:static void do_notify_parent_cldstop(struct task_struct *tsk, bool for_ptracer, int why)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct task_struct * | tsk | |
| bool | for_ptracer | |
| int | why |
| 2021 | 如果for_ptracer则 |
| 2023 | 否则 |
| 2028 | clear_siginfo( & info) |
| 2030 | si_errno等于0 |
| 2035 | si_pid等于task_pid_nr_ns(tsk, task_active_pid_ns(parent)) |
| 2036 | si_uid等于from_kuid_munged(task_cred_xxx(parent, user_ns), task_uid(tsk)) |
| 2039 | task_cputime(tsk, & utime, & stime) |
| 2040 | si_utime等于nsec_to_clock_t(utime) |
| 2041 | si_stime等于nsec_to_clock_t(stime) |
| 2045 | 当:why恒等于stopped child has continued |
| 2048 | 当:why恒等于child has stopped |
| 2049 | si_status等于group_exit_code按位与0x7f |
| 2050 | 退出 |
| 2051 | 当:why恒等于raced child has trapped |
| 2052 | si_status等于进程退出时发出的标号按位与0x7f |
| 2053 | 退出 |
| 2054 | 默认 |
| 2055 | BUG() |
| 2059 | spin_lock_irqsave( & siglock, flags) |
| 2066 | __wake_up_parent(tsk, parent) |
| 2067 | spin_unlock_irqrestore( & siglock, flags) |
| 名称 | 描述 |
|---|---|
| ptrace_stop | This must be called with current->sighand->siglock held.* This should be the path for all ptrace stops.* We always set current->last_siginfo while stopped here.* That makes it a way to test a stopped process for |
| 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 |
| get_signal | |
| exit_signals |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |