Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\coredump.c Create Date:2022-07-28 20:30:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:zap_process

Proto:static int zap_process(struct task_struct *start, int exit_code, int flags)

Type:int

Parameter:

TypeParameterName
struct task_struct *start
intexit_code
intflags
341  nr = 0
344  Per task flags (PF_*), defined further below: = coredump in progress | flags
345  group_exit_code = exit_code
346  group_stop_count = 0
348  for_each_thread(start, t)
349  ask_clear_jobctl_pending - clear jobctl pending bits*@task: target task*@mask: pending bits to clear* Clear @mask from @task->jobctl. @mask must be subset of* %JOBCTL_PENDING_MASK. If %JOBCTL_STOP_PENDING is being cleared, other
350  If t != current process && mm Then
352  signal_wake_up(t, 1)
353  nr++
357  Return nr
Caller
NameDescribe
zap_threads