musl/include
Rich Felker 66570ec9c4 fix undefined behavior in sched.h cpu_set_t usage
since cpu sets can be dynamically allocated and have variable size,
accessing their contents via ->__bits is not valid; performing pointer
arithmetic outside the range of the size of the declared __bits array
results in undefined beahavior. instead, only use cpu_set_t for
fixed-size cpu set objects (instantiated by the caller) and as an
abstract pointer type for dynamically allocated ones. perform all
accesses simply by casting the abstract pointer type cpuset_t * back
to unsigned long *.
2016-09-19 11:15:51 -04:00
..
2013-07-03 18:07:50 +02:00
2016-08-30 16:39:54 -04:00
2016-08-30 16:01:47 -04:00
2014-06-21 19:24:15 -04:00
2013-04-10 22:38:46 -04:00
2013-11-29 12:45:09 -05:00
2014-07-31 02:38:23 -04:00
2013-01-04 20:36:34 +01:00