Function Report

Linux Kernel (v4.4)

Source File:kernel\fork.c Create Date:2016-01-14 10:16:35
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:__cleanup_sighand

Function:void __cleanup_sighand(struct sighand_struct *sighand)

Return Type:void


Type Parameter NameRemarks
struct sighand_struct * sighand

Function description:

1087  If decrement and test then
1088  signalfd_cleanup(sighand)
1093  kmem_cache_free(SLAB cache for sighand_struct structures(tsk->sighand), sighand)
Function NameFunction description
copy_processCreate a new process
__exit_signalThis function expects the tasklist_lock write-locked.
de_threadThis function makes sure the current process has its own signal table, so that flush_signal_handlers can later reset the handlers without disturbing other processes