函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Bad permissions for sending the signal* - the caller must hold the RCU read lock

函数原型:static int check_kill_permission(int sig, struct kernel_siginfo *info, struct task_struct *t)

返回类型:int

参数:

类型参数名称
intsig
struct kernel_siginfo *info
struct task_struct *t
828  如果非Test if 'sig' is valid signal. Use this instead of testing _NSIG directly 则返回:负EINVAL
831  如果非si_fromuser(info)则返回:0
834  error等于audit_signal_info(sig, t)
835  如果error则返回:error
838  如果非same_thread_group(当前进程, t)且非alled with RCU read lock from check_kill_permission()
841  :sig恒等于SIGCONT
842  sid等于task_session(t)
847  如果非sidsid恒等于task_session(当前进程)则退出
850  默认
851  返回:负EPERM
855  返回:security_task_kill(t, info, sig, NULL)
调用者
名称描述
group_send_sig_infosend signal info to all the members of a group
do_send_specific