aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/gai_sigqueue.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2022-07-15 14:10:53 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-10-27 14:46:50 +0100
commitab9182522f8de407c2447239ddb1f12218f43a15 (patch)
tree9053e0634f22d7e23d73a721226f7adb3657f1a9 /sysdeps/unix/sysv/linux/gai_sigqueue.c
parentd79c61b3b98e52154c421891ecb3bfb417f5a66c (diff)
downloadglibc-ab9182522f8de407c2447239ddb1f12218f43a15.tar
glibc-ab9182522f8de407c2447239ddb1f12218f43a15.tar.gz
glibc-ab9182522f8de407c2447239ddb1f12218f43a15.tar.bz2
glibc-ab9182522f8de407c2447239ddb1f12218f43a15.zip
aarch64: morello: fix missing variadic argument in fcntl
In fcntl va_arg is currently used even if the caller did not pass any variadic arguments. This is undefined behaviour and does not work with the Morello purecap ABI, so use a helper macro. When the argument is missing, the result of the helper macro is arbitrary as it will be ignored by the kernel, we just have to ensure it does not cause a runtime crash.
Diffstat (limited to 'sysdeps/unix/sysv/linux/gai_sigqueue.c')
0 files changed, 0 insertions, 0 deletions