Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\tls.c Create Date:2022-07-28 07:52:07
Last Modify:2022-05-18 16:59:10 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:tls_desc_okay

Proto:static bool tls_desc_okay(const struct user_desc *info)

Type:bool

Parameter:

TypeParameterName
const struct user_desc *info
55  If 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". Then Return true
62  If Not seg_32bit Then Return false
66  If contents > 1 Then Return false
78  If seg_not_present Then Return false
81  Return true
Caller
NameDescribe
do_set_thread_areaSet a given TLS descriptor:
regset_tls_set