History log of /bionic/libc/arch-x86/bionic/__set_tls.cpp
Revision Date Author Comments
7379018162d83da8f2c25690541fe169e820f5e8 07-Sep-2017 Elliott Hughes <enh@google.com> <stdbool.h> not necessary in C++.

Bug: N/A
Test: builds
Change-Id: I40fffe92d4273eab5a98bd65013bb9da2aea2171
b291d08af2a384d7468330dd35bfe3f612ab1b3f 09-May-2017 Elliott Hughes <enh@google.com> Zero-initialize user_desc for __set_thread_area.

The kernel does seem to read some of the "unused" fields if only to do
basic validity checks.

valgrind complained about this, and I'm not convinced it's spurious.

Bug: http://b/38034461
Test: ran tests
Change-Id: I077fcc75bf0738491242166fc4576a9693ce18a5
01b85d5df3744449471b327d7afd6c1d5854bd11 10-Feb-2016 Elliott Hughes <enh@google.com> Set x86 TLS limit to 0xfffff, not PAGE_SIZE.

Not least because we set limit_in_pages to 1. PAGE_SIZE pages was never
anyone's intention.

Change-Id: Ide867f44a2fb20d4d5d0cd67ced468e8665a0193