Michael Kerrisk, le Mon 28 May 2007 00:34:38 +0200, a écrit :
> Samuel Thibault wrote:
> > modify_ldt(2) says that it uses modify_ldt_ldt_s structures, but this is
> > wrong: struct user_desc are used (defined in <asm/ldt.h>).
> 
> It appears to me that things are not simple here: user_desc nowadays is the
> same structure as modify_ldt_ldt_s used to be in earlier kernel versions.

Ah, the name changed between 2.4 and 2.6 indeed.  The documentation
should probably now say "user_desc" and remind that it was called
"modify_ldt_ldt_s" in 2.4 and earlier.

Samuel

Reply via email to