函数逻辑报告 |
Source Code:include\linux\sched\signal.h |
Create Date:2022-07-27 06:42:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:same_thread_group
函数原型:static inline bool same_thread_group(struct task_struct *p1, struct task_struct *p2)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | p1 | |
struct task_struct * | p2 |
名称 | 描述 |
---|---|
forget_original_parent | This does two things:* A. Make init inherit all the child processes* B. Check to see if any process groups have become orphaned* as a result of our exiting, and if they have any stopped* jobs, send them a SIGHUP and then a SIGCONT. (POSIX 3.2.2.2) |
__ptrace_may_access | Returns 0 on success, -errno on denial. |
ptrace_attach | |
__ptrace_detach | Called with tasklist_lock held for writing |
check_kill_permission | Bad permissions for sending the signal* - the caller must hold the RCU read lock |
kill_something_info | kill_something_info() interprets pid in interesting ways just like kill(2).* POSIX specifies that kill(-1,sig) is unspecified, but what we have* is probably wrong. Should make it like BSD or SYSV. |
SYSCALL_DEFINE2 | This needs some heavy checking |
thread_group_cputime | Accumulate raw cputime values of dead tasks (sig->[us]time) and live* tasks (sum on group iteration) belonging to @tsk's group. |
good_sigevent | |
lookup_task | Functions for validating access to tasks. |
task_will_free_mem | Checks whether the given task is dying or exiting and likely to* release its address space. This means that all threads and processes* sharing the same mm have to be killed or exiting.* Caller has to make sure that task->mm is stable (hold task_lock or |
__oom_kill_process | |
ptracer_exception_found | ptracer_exception_found - tracer registered as exception for this tracee*@tracer: the task_struct of the process attempting ptrace*@tracee: the task_struct of the process to be ptraced* Returns 1 if tracer has a ptracer exception ancestor for tracee. |
de_thread | This function makes sure the current process has its own signal table,* so that flush_signal_handlers can later reset the handlers without* disturbing other processes. (Other processes might share the signal* table via the CLONE_SIGHAND option to clone().) |
ptrace_reparented |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |