函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\super.c Create Date:2022-07-29 10:32:21
Last Modify:2022-05-24 06:42:17 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mount_capable

函数原型:bool mount_capable(struct fs_context *fc)

返回类型:bool

参数:

类型参数名称
struct fs_context *fc
487  如果非fs_flags按位与Can be mounted by userns root 的值则返回:操作权限检查
489  否则返回:ns_capable(user_ns, Allow setting zone reclaim policy )
调用者
名称描述
do_new_mountreate a new mount for userspace and request it to be added into the* namespace's tree
vfs_fsconfig_lockedCheck the state and apply the configuration. Note that this function is* allowed to 'steal' the value by setting param->xxx to NULL before returning.