函数逻辑报告 |
Source Code:fs\namespace.c |
Create Date:2022-07-29 10:39:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Return true if path is reachable from root* namespace_sem or mount_lock is held
函数原型:bool is_path_reachable(struct mount *mnt, struct dentry *dentry, const struct path *root)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mount * | mnt | |
struct dentry * | dentry | |
const struct path * | root |
3568 | 当mnt不等于mnt且mnt_has_parent(mnt)循环 |
3569 | dentry等于mnt_mountpoint |
3570 | mnt等于mnt_parent |
名称 | 描述 |
---|---|
path_is_under | |
SYSCALL_DEFINE2 | pivot_root Semantics:* Moves the root file system of the current process to the directory put_old,* makes new_root as the new root file system of the current process, and sets* root/cwd of all processes which had them on the current root to new_root |
get_peer_under_root |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |