Report EINVAL instead of EDEADLK when impossible cpu mask is set.
Noted by: dchagin
|  Differential  D35045  
sched_getaffinity(3): more compatibility with Linux Authored by kib on Apr 24 2022, 10:13 PM. Tags None Referenced Files 
 
 
 
 
 
 
 
 Subscribers 
Details Report EINVAL instead of EDEADLK when impossible cpu mask is set. Noted by: dchagin 
Diff Detail 
 Event TimelineComment Actions btw, glibc defines CPU_SETSIZE as 1024 https://sourceware.org/git/?p=glibc.git;a=blob;f=posix/bits/cpu-set.h;h=afc1622f7ea4063ea1bd84e20d491d72e378376c;hb=refs/heads/master 
 | ||||||||||||||||||||||||||||||||||