Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:collect_signal

Proto:static void collect_signal(int sig, struct sigpending *list, kernel_siginfo_t *info, bool *resched_timer)

Type:void

Parameter:

TypeParameterName
intsig
struct sigpending *list
kernel_siginfo_t *info
bool *resched_timer
565  struct sigqueue * q, * first = NULL
572  If si_signo == sig Then
573  If first Then Go to still_pending
575  first = q
579  sigdelset( & signal, sig)
581  If first Then
582  still_pending :
583  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
584  copy_siginfo(info, & info)
586  resched_timer = flags & lags values. && si_code == sent by timer expiration && si_sys_private
591  __sigqueue_free(first)
592  Else
598  clear_siginfo(info)
599  si_signo = sig
600  si_errno = 0
601  si_code = sent by kill, sigsend, raise
602  si_pid = 0
603  si_uid = 0
Caller
NameDescribe
__dequeue_signal