Module Name: src
Committed By: martin
Date: Thu Oct 10 07:45:02 UTC 2024
Modified Files:
src/tests/kernel: t_semtimedop.c
Log Message:
Fix semctl(..., SETVAL, value) calls: you can not pass an integer 0
to a variadic function expecting a union with all ABIs, as they may not
promote to the same type.
For example on powerpc this caused the test program to crash with a NULL
deref when evaluating the va_arg().
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/kernel/t_semtimedop.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.