From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <7d86713974a2fbf4ce745a97e7cb5ab5@gmx.de> References: <7d86713974a2fbf4ce745a97e7cb5ab5@gmx.de> Date: Mon, 15 Jun 2009 20:52:15 -0700 Message-ID: Subject: Re: [9fans] interface for per process gdt manipulation From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 0b668ce2-ead5-11e9-9d60-3106f5b1d025 i haven't looked at your code, but a text interface is better than binary. if you make the first field the table index number, then you don't need to bother with seeking to fixed offsets. design a text format that is convenient to use instead of forcing the binary interface on everyone. also i wonder if this should really be in a separate ldt instead of polluting the gdt. russ