Function report | 
Source Code:include\linux\user_namespace.h | 
Create Date:2022-07-28 05:49:34 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:unshare_userns
Proto:static inline int unshare_userns(unsigned long unshare_flags, struct cred **new_cred)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned long | unshare_flags | |
| struct cred ** | new_cred | 
| 154 | If unshare_flags & New user namespace Then Return -EINVAL | 
| 156 | Return 0 | 
| Name | Describe | 
|---|---|
| ksys_unshare | share allows a process to 'unshare' part of the process* context which was originally shared using clone. copy_** functions used by do_fork() cannot be used here directly* because they modify an inactive task_struct that is being* constructed | 
| 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  |