Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:copy_siginfo_to_user

Proto:int copy_siginfo_to_user(siginfo_t __user *to, const kernel_siginfo_t *from)

Type:int

Parameter:

TypeParameterName
siginfo_t __user *to
const kernel_siginfo_t *from
3185  __user * expansion = si_expansion(to)
3186  If copy_to_user(to, from, sizeof(structkernel_siginfo)) Then Return -EFAULT
3188  If lear_user - Zero a block of memory in user space.*@to: Destination address, in user space.*@n: Number of bytes to zero.* Zero a block of memory in user space.* Return: number of bytes that could not be cleared.* On success, this will be zero. Then Return -EFAULT
3190  Return 0
Caller
NameDescribe
ptrace_request
SYSCALL_DEFINE4sys_rt_sigtimedwait - synchronously wait for queued signals specified* in @uthese*@uthese: queued signals to wait for*@uinfo: if non-null, the signal's siginfo is returned here*@uts: upper bound on process time suspension*@sigsetsize: size of sigset_t type