[[!meta copyright="Copyright © 2011 Free Software Foundation, Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable id="license" text="Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled [[GNU Free Documentation License|/fdl]]."]]"""]] [[!tag open_issue_porting]] IRC, freenode, #hurd, 2011-08-12 < zyg> did the segment registers had any purpose? I see fs is set equal to others, but on linux fs is 0 (atleast on this x86 box). < braunr> zyg: it can be used by special applications like wine, yes < zyg> braunr: thanks.. I'm reading up on linux actually. It seems gs can be used for TLS, fs in syscall to pass userspace. < braunr> zyg: why are you interested in that ? < zyg> a native compiler under linux places assumptions on fs register. So I'm trying to find out what it should do under gnumach/hurd. < braunr> what compiler ? < zyg> braunr: it's sbcl < braunr> ok < youpi> zyg: the same, basically < zyg> ok.. looking at the code, I've remarked where it sets up FS, because /usr/include/asm/ldt.h:struct user_desc is missing. I must search for the equiv. < youpi> zyg: mach/i386/mach_i386.h < youpi> the descriptor structure