Function report |
Source Code:kernel\ucount.c |
Create Date:2022-07-28 09:34:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:setup_userns_sysctls
Proto:bool setup_userns_sysctls(struct user_namespace *ns)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct user_namespace * | ns |
| 84 | setup_sysctl_set( & set, & set_root, set_is_seen) |
| 85 | tbl = kmemdup(user_table, size of user_table , GFP_KERNEL) |
| 86 | If tbl Then |
| 88 | When i < UCOUNT_COUNTS cycle |
| 89 | data = ucount_max[i] |
| 91 | sysctls = __register_sysctl_table( & set, "user", tbl) |
| 93 | If Not sysctls Then |
| 99 | Return true |
| Name | Describe |
|---|---|
| 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. |
| 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 |