Function report |
Source Code:include\linux\sched\signal.h |
Create Date:2022-07-28 05:40:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:same_thread_group
Proto:static inline bool same_thread_group(struct task_struct *p1, struct task_struct *p2)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | p1 | |
| struct task_struct * | p2 |
| Name | Describe |
|---|---|
| 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().) |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |