On the x86-64 architecture, two registers have a special purpose: FS and GS. In linux 2.6.*, the FS register seem to be used to store thread-local information.
- Is that correct?
- What is stored at fs:0? Is there any C structure that describe this content?
- What is then the use of GS?