Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-28 09:17:29
Last Modify:2020-03-17 13:28:47 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:prepare_kill_siginfo

Proto:static inline void prepare_kill_siginfo(int sig, struct kernel_siginfo *info)

Type:void

Parameter:

TypeParameterName
intsig
struct kernel_siginfo *info
3621  clear_siginfo(info)
3622  si_signo = sig
3623  si_errno = 0
3624  si_code = sent by kill, sigsend, raise
3625  si_pid = task_tgid_vnr(current process)
3626  si_uid = from_kuid_munged(current_user_ns(), current_uid())
Caller
NameDescribe
SYSCALL_DEFINE2sys_kill - send a signal to a process*@pid: the PID of the process*@sig: signal to be sent
SYSCALL_DEFINE4sys_pidfd_send_signal - Signal a process through a pidfd*@pidfd: file descriptor of the process*@sig: signal to send*@info: signal info*@flags: future flags* The syscall currently only signals via PIDTYPE_PID which covers* kill(,