函数逻辑报告 |
Source Code:kernel\nsproxy.c |
Create Date:2022-07-27 10:32:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:switch_task_namespaces
函数原型:void switch_task_namespaces(struct task_struct *p, struct nsproxy *new)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct task_struct * | p | |
| struct nsproxy * | new |
| 217 | might_sleep() |
| 222 | task_unlock(p) |
| 224 | 如果ns且atomic_dec_and_test( & 代理记录数)则free_nsproxy(ns) |
| 名称 | 描述 |
|---|---|
| exit_task_namespaces | |
| SYSCALL_DEFINE2 | |
| 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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |