| Function report | 
| Source Code: kernel\nsproxy.c | Create Date:2022-07-28 09:31:34 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:SYSCALL_DEFINE2
Proto:SYSCALL_DEFINE2(setns, int, fd, int, nstype)
Type:
Parameter:Nothing
| 235 | tsk = current process | 
| 241 | file = proc_ns_fget(fd) | 
| 246 | ns = get_proc_ns(file_inode(file)) | 
| 251 | If IS_ERR(new_nsproxy) Then | 
| 252 | err = PTR_ERR(new_nsproxy) | 
| 253 | Go to out | 
| 256 | err = install(new_nsproxy, ns) | 
| 257 | If err Then | 
| 258 | free_nsproxy(new_nsproxy) | 
| 259 | Go to out | 
| 263 | perf_event_namespaces(tsk) | 
| 264 | out : | 
| 266 | Return err | 
| 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 |