commit | 3e606a4234c4c70868d69c00f70c572dc32fdcc9 | [log] [tgz] |
---|---|---|
author | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Fri Jun 05 13:17:31 2009 +0000 |
committer | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Fri Jun 05 13:17:31 2009 +0000 |
tree | eab11cb26cafdb9d1225d3b074f93ac1ff1bc2dd | |
parent | f31cce91afd36ed9dd38606707a6867c9a3aa1cc [diff] |
x86-linux: sys_set_thread_area: don't allocate GDT entry number zero, and reject attempts to use it. This is because the hardware does not allow entry zero to be used, and apparently doing so confuses some code (perhaps Windows apps running on Wine). Derived from a patch by John Reiser. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10251 a5019735-40e9-0310-863c-91ae7b9d1cf9