diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2023-05-23 03:14:06 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-25 10:29:09 +0100 |
commit | 67ad6c8dc2d5d7512cb36d6eccbd73130b9a9197 (patch) | |
tree | e530c0f7950ba3f543c057a1db133680730a8ba8 /scripts/lib/checklayer/case.py | |
parent | 63a7ae21cc6d0c9c7f880220e9e3d9acea6f204e (diff) | |
download | poky-67ad6c8dc2d5d7512cb36d6eccbd73130b9a9197.tar.gz |
glib-2.0: Avoid having g_futex_simple() inadvertently modify errno
If both __NR_futex and __NR_futex_time64 are defined, g_futex_simple()
will first call futex_time64(). If that fails with ENOSYS, then
futex_time() is called instead. However, errno was not saved and
restored in this case, which would result in g_futex_simple()
returning with errno set to ENOSYS, even if futex_time() succeeded.
(From OE-Core rev: 1d6bff65391045ba40e84721eb0f6826e25e09f3)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/checklayer/case.py')
0 files changed, 0 insertions, 0 deletions