函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:flush_sigqueue

函数原型:void flush_sigqueue(struct sigpending *queue)

返回类型:void

参数:

类型参数名称
struct sigpending *queue
459  sigemptyset( & signal)
460  当非链表为空循环
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.(链表后项, structsigqueue, list)
462  删除链表项并重新初始化
463  __sigqueue_free(q)
调用者
名称描述
__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