[PATCH] sched_getaffinity() fails with -EINVAL

Sharyathi Nagesh sharyath@in.ibm.com
Fri Feb 19 15:50:00 GMT 2010


Kosaki
  Thanks for forwarding the mail
>> 
>> You don't understand the concept of binary compatibility, do you? 
>> You cannot change the size of a type.
I was concerned about applications breaking due to change
in kernel configuration, which application developer may not be aware
off. If you feel changing those sys_*affinity() interfaces in
application is more manageable than suggested changes let it be that way
> 
> Yes, Both type size change and syscall failure are binary 
> incompatibility. Sharyathi,  Why can't we change kernel's painful 
> argument assumption?
Kosaki I am not completely convinced how we can suggest changes to
kernel code. Meanwhile changing the interfaces to  *_S macros looks more
appropriate
Regards
Yeehaw



More information about the Libc-alpha mailing list