函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-27 10:17:31
Last Modify:2020-03-17 13:28:47 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:do_send_specific

函数原型:static int do_send_specific(pid_t tgid, pid_t pid, int sig, struct kernel_siginfo *info)

返回类型:int

参数:

类型参数名称
pid_ttgid
pid_tpid
intsig
struct kernel_siginfo *info
3764  error等于负ESRCH
3766  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
3767  p等于d a task by one of its numerical ids* find_task_by_pid_ns():* finds a task by its pid in the specified namespace* find_task_by_vpid():* finds a task by its virtual pid* see also find_vpid() etc in include/linux/pid.h
3768  如果ptgid小于等于0或task_tgid_vnr(p)恒等于tgid的值则
3769  error等于Bad permissions for sending the signal* - the caller must hold the RCU read lock
3774  如果非errorsig
3785  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
3787  返回:error
调用者
名称描述
do_tkill
do_rt_tgsigqueueinfo