函数逻辑报告 | 
Source Code:kernel\cred.c | 
Create Date:2022-07-27 10:33:06 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:复制信任
函数原型:int copy_creds(struct task_struct *p, unsigned long clone_flags)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct task_struct * | p | |
| unsigned long | clone_flags | 
| 339 | 如果非 keyring private to this thread 且clone_flags按位与属于同一个线程组则 | 
| 347 | alter_cred_subscribers(安全管理凭证, 2) | 
| 348 | kdebug("share_creds(%p{%d,%d})", 安全管理凭证, atomic_read( & usage), read_cred_subscribers(安全管理凭证)) | 
| 352 | 返回:0 | 
| 355 | new等于prepare_creds - Prepare a new set of credentials for modification* Prepare a new set of task credentials for modification | 
| 359 | 如果clone_flags按位与新用户空间则 | 
| 368 | 如果 keyring private to this thread 则 | 
| 370 | keyring private to this thread = NULL | 
| 378 | 如果非clone_flags按位与属于同一个线程组的值则 | 
| 380 | keyring private to this process = NULL | 
| 386 | alter_cred_subscribers(new, 2) | 
| 387 | validate_creds(new) | 
| 388 | 返回:0 | 
| 390 | error_put : | 
| 392 | 返回:ret | 
| 名称 | 描述 | 
|---|---|
| copy_process | 创建进程 | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |