about summary refs log tree commit diff
path: root/sysdeps/x86/tst-cet-legacy-mod-6a.c
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2021-09-07 13:31:42 +0800
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-09-07 10:09:54 -0300
commit66016ec8aeefd40e016d7040d966484c764b0e9c (patch)
tree7657dabec84ffb5c4f5a400838d5343134b8a794 /sysdeps/x86/tst-cet-legacy-mod-6a.c
parent4e04a47208e1712fcf202a6d9831f0900d575225 (diff)
downloadglibc-66016ec8aeefd40e016d7040d966484c764b0e9c.tar.gz
glibc-66016ec8aeefd40e016d7040d966484c764b0e9c.tar.xz
glibc-66016ec8aeefd40e016d7040d966484c764b0e9c.zip
MIPS: Setup errno for {f,l,}xstat
{f,l,}xstat stub for MIPS is using INTERNAL_SYSCALL
to do xstat syscall for glibc ver, However it leaves
errno untouched and thus giving bad errno output.

Setup errno properly when syscall returns non-zero.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/x86/tst-cet-legacy-mod-6a.c')
0 files changed, 0 insertions, 0 deletions