Re: linux syscall modify_ldt() returning wrong errno

2009-06-26 Thread John Baldwin
On Thursday 25 June 2009 6:25:31 pm Alexander Best wrote: > hi there, > > i'm currently playing a bit with the linux test project (ltp). it seems the > linux syscall modify_ldt() isn't implemented correctly. the following code > should set errno to ENOSYS, but instead EINVAL is being returned: It

linux syscall modify_ldt() returning wrong errno

2009-06-25 Thread Alexander Best
hi there, i'm currently playing a bit with the linux test project (ltp). it seems the linux syscall modify_ldt() isn't implemented correctly. the following code should set errno to ENOSYS, but instead EINVAL is being returned: int main(int ac, char **av) { int lc; /* loop