函数逻辑报告 |
Source Code:kernel\ucount.c |
Create Date:2022-07-27 10:34:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:setup_userns_sysctls
函数原型:bool setup_userns_sysctls(struct user_namespace *ns)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct user_namespace * | ns |
84 | setup_sysctl_set( & set, & set_root, set_is_seen) |
85 | tbl等于kmemdup(user_table, user_table的长度, GFP_KERNEL) |
86 | 如果tbl则 |
88 | 以i小于UCOUNT_COUNTS循环 |
89 | data等于ucount_max[i] |
91 | sysctls等于__register_sysctl_table( & set, "user", tbl) |
93 | 如果非sysctls则 |
99 | 返回:true |
名称 | 描述 |
---|---|
user_namespace_sysctl_init | |
create_user_ns | Create a new user namespace, deriving the creator from the user in the* passed credentials, and replacing that user with the new root user for the* new namespace.* This is called by copy_creds(), which will finish setting the target task's* credentials. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |