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:12
Last Modify:2022-05-18 16:59:10 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:SYSCALL_DEFINE1(get_thread_area, struct user_desc __user *, u_info)return do_get_thread_area(current, -1, u_info);

Proto:int regset_tls_active(struct task_struct *target, const struct user_regset *regset)

Type:int

Parameter:

TypeParameterName
struct task_struct *target
const struct user_regset *regset
251  t = * New fields for task_struct should be added above here, so that * they are included in the randomized portion of task_struct.
252  n = GDT_ENTRY_TLS_ENTRIES
253  When n > 0 && desc_empty( & Cached TLS descriptors: [n - 1]) cycle
254  --n
255  Return n