函数逻辑报告 |
Source Code:arch\x86\kernel\tls.c |
Create Date:2022-07-27 08:52:19 |
Last Modify:2022-05-18 16:59:10 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:set_tls_desc
函数原型:static void set_tls_desc(struct task_struct *p, int idx, const struct user_desc *info, int n)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | p | |
int | idx | |
const struct user_desc * | info | |
int | n |
87 | t等于* New fields for task_struct should be added above here, so that * they are included in the randomized portion of task_struct. |
97 | 如果This intentionally ignores lm, since 32-bit apps don't have that field. (info)或Lots of programs expect an all-zero user_desc to mean "no segment at all". 则memset(desc, 0, desc的长度) |
101 | info先自加 |
102 | desc先自加 |
108 | put_cpu() |
名称 | 描述 |
---|---|
do_set_thread_area | Set a given TLS descriptor: |
regset_tls_set |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |