函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\tls.c Create Date:2022-07-27 08:52:18
Last Modify:2022-05-18 16:59:10 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:tls_desc_okay

函数原型:static bool tls_desc_okay(const struct user_desc *info)

返回类型:bool

参数:

类型参数名称
const struct user_desc *info
55  如果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". 则返回:true
62  如果非seg_32bit则返回:false
66  如果contents大于1则返回:false
78  如果seg_not_present则返回:false
81  返回:true
调用者
名称描述
do_set_thread_areaSet a given TLS descriptor:
regset_tls_set