Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Returns true if @child is the same namespace or a descendant of*@ancestor.

Proto:bool in_userns(const struct user_namespace *ancestor, const struct user_namespace *child)

Type:bool

Parameter:

TypeParameterName
const struct user_namespace *ancestor
const struct user_namespace *child
1224  When level > level cycle Return ns == ancestor
Caller
NameDescribe
current_in_userns
create_pid_namespace