| Function report | 
| Source Code: kernel\nsproxy.c | Create Date:2022-07-28 09:31:32 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:switch_task_namespaces
Proto:void switch_task_namespaces(struct task_struct *p, struct nsproxy *new)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct task_struct * | p | |
| struct nsproxy * | new | 
| 217 | might_sleep() | 
| 220 | ns = Namespaces: | 
| 221 | Namespaces: = new | 
| 222 | task_unlock(p) | 
| 224 | If ns && atomic_dec_and_test( & count) Then free_nsproxy(ns) | 
| Name | Describe | 
|---|---|
| exit_task_namespaces | |
| SYSCALL_DEFINE2 | 
| 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 |