函数逻辑报告 |
Source Code:kernel\user_namespace.c |
Create Date:2022-07-27 12:22:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:userns_install
函数原型:static int userns_install(struct nsproxy *nsproxy, struct ns_common *ns)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct nsproxy * | nsproxy | |
struct ns_common * | ns |
1258 | user_ns等于to_user_ns(ns) |
1264 | 如果user_ns恒等于current_user_ns()则返回:负EINVAL |
1268 | 如果非thread_group_empty(当前进程)则返回:负EINVAL |
1274 | 如果非ns_capable(user_ns, Allow setting zone reclaim policy )则返回:负EPERM |
1277 | cred等于prepare_creds - Prepare a new set of credentials for modification* Prepare a new set of task credentials for modification |
1282 | set_cred_user_ns(cred, get_user_ns(user_ns)) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |