diff options
author | Elliott Hughes <enh@google.com> | 2017-11-27 20:30:25 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2017-11-28 09:09:01 -0800 |
commit | 9591df5294527616686c9a99f14a5d94572f637c (patch) | |
tree | 43d8ffa8dac23e0712b7ce2bbb5e2386d74ff851 /libc/stdio/stdio_ext.cpp | |
parent | b7d6df2b61f7941e24d362105a43950da6f2da05 (diff) |
Fix vdso system call fallback failures.
When a vdso call falls back to making a regular system call, the inline
code for the system call doesn't know about errno and just leaves the
usual kernel result to be translated. Add the missing translation.
Also fix the defaults for non-vdso systems so we actually take the
fallback path (and so avoid unintentionally doing the errno translation
twice in those cases).
Bug: http://b/69626243
Test: ran new tests from http://b/63737556
Change-Id: If379632ea2e059e3d3bc3ff41bf3608dc05fb0a3
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
0 files changed, 0 insertions, 0 deletions