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
..
2020-12-16 09:02:09 +00:00
2021-11-05 13:51:42 +02:00
2020-05-15 11:58:01 +00:00
2017-12-08 22:06:18 +00:00
2021-11-10 21:18:53 +02:00
2020-05-12 18:17:57 +00:00
2017-11-27 17:18:31 +00:00
2018-12-23 20:51:13 +00:00
2021-02-23 20:08:10 +02:00
2020-02-02 19:45:12 +00:00
2021-11-07 16:20:15 +01:00
2021-07-15 19:40:28 +03:00
2021-08-03 21:19:32 +03:00
2021-07-15 19:40:28 +03:00