musl/include/sys
Rich Felker ea3b40a321 fix integer overflow in WIFSTOPPED macro
the result of the 0xffff mask with the exit status could have bit 15
set, in which case multiplying by 0x10001 overflows 32-bit signed int.
making the multiply unsigned avoids the overflow. it also changes the
sign extension behavior of the subsequent >> operation, but the
affected bits are all unwanted anyway and all discarded by the cast to
short.
2023-02-08 16:42:28 -05:00
..
acct.h
auxv.h
cachectl.h
dir.h
epoll.h
errno.h
eventfd.h
fanotify.h sys/fanotify.h: add new FAN_* macros from linux v5.9 2020-11-29 00:54:36 -05:00
fcntl.h
file.h
fsuid.h
inotify.h
io.h
ioctl.h fix regression with applications that expect struct winsize in ioctl.h 2020-08-30 16:47:40 -04:00
ipc.h
kd.h
klog.h
membarrier.h sys/membarrier.h: add new constants from linux v5.10 2021-02-15 09:16:06 -05:00
mman.h remove LFS64 programming interfaces (macro-only) from _GNU_SOURCE 2022-10-19 14:01:31 -04:00
mount.h sys/mount.h: add MS_NOSYMFOLLOW from linux v5.10 2021-02-15 09:16:06 -05:00
msg.h
mtio.h
param.h
personality.h add missing personality values 2020-11-29 00:52:36 -05:00
poll.h
prctl.h sys/prctl.h: add PR_PAC_{SET,GET}_ENABLED_KEYS from linux v5.13 2022-03-08 17:21:26 -05:00
procfs.h
ptrace.h sys/ptrace.h: add PTRACE_GET_RSEQ_CONFIGURATION from linux v5.13 2022-03-08 17:21:26 -05:00
quota.h
random.h sys/random.h: add GRND_INSECURE from linux v5.6 2020-09-09 17:20:27 -04:00
reboot.h
reg.h
resource.h remove LFS64 programming interfaces (macro-only) from _GNU_SOURCE 2022-10-19 14:01:31 -04:00
select.h
sem.h
sendfile.h remove LFS64 programming interfaces (macro-only) from _GNU_SOURCE 2022-10-19 14:01:31 -04:00
shm.h
signal.h
signalfd.h
socket.h sys/socket.h: add new SO_ socket options from linux v5.11 2022-03-08 17:19:40 -05:00
soundcard.h
stat.h remove LFS64 programming interfaces (macro-only) from _GNU_SOURCE 2022-10-19 14:01:31 -04:00
statfs.h remove LFS64 programming interfaces (macro-only) from _GNU_SOURCE 2022-10-19 14:01:31 -04:00
statvfs.h remove LFS64 programming interfaces (macro-only) from _GNU_SOURCE 2022-10-19 14:01:31 -04:00
stropts.h
swap.h
syscall.h
sysinfo.h
syslog.h
sysmacros.h
termios.h
time.h
timeb.h
timerfd.h
times.h
timex.h
ttydefaults.h
types.h remove LFS64 programming interfaces (macro-only) from _GNU_SOURCE 2022-10-19 14:01:31 -04:00
ucontext.h
uio.h remove LFS64 programming interfaces (macro-only) from _GNU_SOURCE 2022-10-19 14:01:31 -04:00
un.h
user.h
utsname.h
vfs.h
vt.h
wait.h fix integer overflow in WIFSTOPPED macro 2023-02-08 16:42:28 -05:00
xattr.h