Konstantin Belousov 90fa9705d5 sched.h: Hide all Linux compat sched_* functions under _WITH_CPU_SET_T
Instead of only hiding cpu_set_t compat typedef itself.

Too many software packages assume that sched_getaffinity() presence
implies full source compatibility with glibc.  We can (and should)
handle missing CPU_* macros, but then there are incompatible BIT_* uses
which cannot be fixed in src/.

So hide everything under _WITH_CPU_SET_T, in particular, do not expose
sched_getcpu(), sched_get/setaffinity(), as well as CPU_* and BIT_*
macros.  Consumers that want sched* functions must opt-in.

Reported by:	portmgr (antoine)
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2021-11-13 19:27:54 +02:00
..
2021-11-10 21:18:54 +02:00
2021-11-10 21:18:54 +02:00
2020-10-09 19:12:44 +00:00
2021-04-09 23:46:24 +03:00
2021-11-10 21:18:54 +02:00
2021-11-10 21:18:54 +02:00
2020-12-16 09:02:09 +00:00
2021-11-10 21:18:54 +02:00
2021-11-10 21:18:54 +02:00
2021-11-10 21:18:54 +02:00
2021-11-07 16:20:15 +01:00
2021-11-10 21:18:54 +02:00
2021-11-08 12:35:03 +01:00
2021-07-15 22:41:10 -04:00