1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-09 09:40:42 +00:00
freebsd/lib/libc
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
..
aarch64 Add sched_getcpu() 2021-11-10 21:18:54 +02:00
amd64
arm Add sched_getcpu() 2021-11-10 21:18:54 +02:00
capability
compat-43
db
gdtoa
gen sched.h: Hide all Linux compat sched_* functions under _WITH_CPU_SET_T 2021-11-13 19:27:54 +02:00
gmon
i386
iconv
include Add sched_getcpu() 2021-11-10 21:18:54 +02:00
inet
isc
locale libc/locale: Fix races between localeconv(3) and setlocale(3) 2021-09-17 10:47:46 -04:00
md
mips Add sched_getcpu() 2021-11-10 21:18:54 +02:00
nameser
net man pages: deprecate Internet Class A/B/C 2021-11-09 09:33:23 -06:00
nls
posix1e libc/posix1e: Add acl_extended_file_np() function. 2021-08-27 11:52:26 +03:00
powerpc Add sched_getcpu() 2021-11-10 21:18:54 +02:00
powerpc64 Add sched_getcpu() 2021-11-10 21:18:54 +02:00
powerpcspe
quad
regex
resolv res_init: remove unused inet_makeaddr with IN_LOOPBACKNET 2021-11-09 09:33:48 -06:00
riscv Add sched_getcpu() 2021-11-10 21:18:54 +02:00
rpc rpc(3): Correct a few common typos in source code comments 2021-08-22 08:16:09 +02:00
secure libc: ssp: sprinkle around some __dead2 2021-09-30 23:55:17 -05:00
softfloat
stdio getdelim(3): Fix losing data on [EAGAIN] 2021-09-02 11:26:26 -07:00
stdlib libc: add clearenv function 2021-11-07 16:20:15 +01:00
stdtime tzcode: Implement timezone change detection 2021-09-12 03:07:58 +00:00
string memcpy.3: remove BUGS section allowing overlapping strings 2021-08-24 09:58:10 -04:00
sys Add sched_getcpu() 2021-11-10 21:18:54 +02:00
tests libc: fix the test 2021-11-08 12:35:03 +01:00
uuid
x86 sched.h: Hide all Linux compat sched_* functions under _WITH_CPU_SET_T 2021-11-13 19:27:54 +02:00
xdr
yp
libc_nossp.ldscript
libc.ldscript
Makefile
Makefile.depend
Makefile.depend.options
Versions.def