Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:disable_pid_allocation

Proto:void disable_pid_allocation(struct pid_namespace *ns)

Type:void

Parameter:

TypeParameterName
struct pid_namespace *ns
298  spin_lock_irq( & Note: disable interrupts while the pidmap_lock is held as an* interrupt might come in and do read_lock(&tasklist_lock))
299  pid_allocated &= ~PIDNS_ADDING
300  spin_unlock_irq( & Note: disable interrupts while the pidmap_lock is held as an* interrupt might come in and do read_lock(&tasklist_lock))
Caller
NameDescribe
zap_pid_ns_processes