Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:flush_sigqueue

Proto:void flush_sigqueue(struct sigpending *queue)

Type:void

Parameter:

TypeParameterName
struct sigpending *queue
459  sigemptyset( & signal)
460  When Not list_empty - tests whether a list is empty*@head: the list to test. cycle
461  q = list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(next, structsigqueue, list)
462  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
463  __sigqueue_free(q)
Caller
NameDescribe
__exit_signalThis function expects the tasklist_lock write-locked.
flush_signalsFlush all pending signals for this kthread.
selinux_bprm_committed_credsClean up the process immediately after the installation of new credentials* due to exec