| Function report | 
| Source Code: fs\nsfs.c | Create Date:2022-07-28 20:12:42 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:open_related_ns
Proto:int open_related_ns(struct ns_common *ns, struct ns_common *(*get_ns)(struct ns_common *ns))
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct ns_common * | ns | |
| struct ns_common *(* | get_ns | 
| 156 | fd = get_unused_fd_flags(O_CLOEXEC) | 
| 160 | Do | 
| 165 | put_unused_fd(fd) | 
| 169 | err = __ns_get_path( & path, relative) | 
| 173 | put_unused_fd(fd) | 
| 180 | put_unused_fd(fd) | 
| 182 | Else fd_install(fd, f) | 
| 185 | Return fd | 
| Name | Describe | 
|---|---|
| ns_ioctl | 
| 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 |