diff options
author | Jiaying Song <jiaying.song.cn@windriver.com> | 2025-07-23 18:04:07 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-28 14:51:50 +0100 |
commit | a3e207f00d74586a65e10b6c4e5dc1d3c65b9b5a (patch) | |
tree | fdb32db73fa9ae70b9e82a0ad90c8d57ed2e8666 /scripts/contrib/convert-variable-renames.py | |
parent | 9eb9f13198ee2eeb189d16ba56d8a6be58c4fe40 (diff) | |
download | poky-a3e207f00d74586a65e10b6c4e5dc1d3c65b9b5a.tar.gz |
ltp: Skip semctl08 when __USE_TIME64_REDIRECTS is defined
When __USE_TIME64_REDIRECTS is defined, glibc redirects struct semid_ds
to a 64-bit time-safe version that omits the sem_otime_high and
sem_ctime_high fields. As a result, the case becomes invalid, leading to
incorrect behavior.
This patch adds a check to skip the test when __USE_TIME64_REDIRECTS is
defined, ensuring the test only runs when the semid_ds structurally
matches semid64_ds and the *_high fields are accessible.
(From OE-Core rev: 07410b54660f75465df8d428844893cbd0c295ea)
Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib/convert-variable-renames.py')
0 files changed, 0 insertions, 0 deletions