函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namei.c Create Date:2022-07-29 10:34:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:legitimize_root

函数原型:static bool legitimize_root(struct nameidata *nd)

返回类型:bool

参数:

类型参数名称
struct nameidata *nd
644  如果非mntflags按位与LOOKUP_ROOT则返回:true
646  flags或等于LOOKUP_ROOT_GRABBED
647  返回:path_put is needed afterwards regardless of success or failure
调用者
名称描述
unlazy_walklazy_walk - try to switch to ref-walk mode
unlazy_childlazy_child - try to switch to ref-walk mode