函数逻辑报告 |
Source Code:fs\namespace.c |
Create Date:2022-07-29 10:39:51 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:mntns_install
函数原型:static int mntns_install(struct nsproxy *nsproxy, struct ns_common *ns)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct nsproxy * | nsproxy | |
| struct ns_common * | ns |
| 3965 | 如果非ns_capable(user_ns, Allow setting zone reclaim policy )或非ns_capable(current_user_ns(), Allow use of chroot() )或非ns_capable(current_user_ns(), Allow setting zone reclaim policy )则返回:负EPERM |
| 3970 | 如果is_anon_ns(mnt_ns)则返回:负EINVAL |
| 3976 | get_mnt_ns(mnt_ns) |
| 3977 | old_mnt_ns等于mnt_ns |
| 3983 | 如果err则 |
| 3990 | put_mnt_ns(old_mnt_ns) |
| 3997 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |