acadia-newlib/winsup/cygwin/include/sys
Mark Geisert dfd14093e3 Cygwin: Fix type mismatch on sys/cpuset.h
Addresses https://cygwin.com/pipermail/cygwin/2023-March/253220.html

Take the opportunity to follow FreeBSD's and Linux's lead in recasting
macro inline code as calls to static inline functions.  This allows the
macros to be type-safe.  In addition, added a lower bound check to the
functions that use a cpu number to avoid a potential buffer underrun on
a bad argument.  h/t to Corinna for the advice on recasting.

Fixes: 362b98b49a ("Cygwin: Implement CPU_SET(3) macros")
2023-03-14 11:26:13 +01:00
..
_pthreadtypes.h
acl.h
clipboard.h
copying.dj
cpuset.h Cygwin: Fix type mismatch on sys/cpuset.h 2023-03-14 11:26:13 +01:00
cygwin.h
dirent.h
file.h
ioctl.h
ipc.h
kd.h
lock.h
mman.h
mount.h
msg.h
mtio.h
param.h Cygwin: fix/drop a few comments 2022-08-03 18:14:39 +02:00
poll.h
procfs.h
quota.h
random.h
resource.h
sem.h
shm.h
signalfd.h
smallprint.h
socket.h
soundcard.h
statfs.h
statvfs.h
stdio.h
strace.h
sysinfo.h
syslimits.h
syslog.h
sysmacros.h
sysproto.h
termio.h
termios.h
timerfd.h
ttychars.h
ucontext.h
uio.h
un.h
utime.h
utmp.h
utsname.h
vfs.h
wait.h
xattr.h