Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:legitimize_root

Proto:static bool legitimize_root(struct nameidata *nd)

Type:bool

Parameter:

TypeParameterName
struct nameidata *nd
644  If Not mnt || flags & LOOKUP_ROOT Then Return true
646  flags |= LOOKUP_ROOT_GRABBED
647  Return path_put is needed afterwards regardless of success or failure
Caller
NameDescribe
unlazy_walklazy_walk - try to switch to ref-walk mode
unlazy_childlazy_child - try to switch to ref-walk mode