Function report | 
Source Code:fs\namespace.c | 
Create Date:2022-07-28 20:09:23 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Return true if path is reachable from root* namespace_sem or mount_lock is held
Proto:bool is_path_reachable(struct mount *mnt, struct dentry *dentry, const struct path *root)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct mount * | mnt | |
| struct dentry * | dentry | |
| const struct path * | root | 
| 3568 | When mnt != mnt && mnt_has_parent(mnt) cycle | 
| 3569 | dentry = mnt_mountpoint | 
| 3570 | mnt = mnt_parent | 
| 3572 | Return mnt == mnt && is new dentry a subdirectory of old_dentry | 
| Name | Describe | 
|---|---|
| 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 | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |