diff options
author | Adhemerval Zanella Netto <adhemerval.zanella@linaro.org> | 2022-10-19 19:14:18 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-12-07 11:27:01 -0300 |
commit | 04e7e2658c4ffe1a96fb445cbfe583a9d51ca622 (patch) | |
tree | 0352bc9e1ff77373b554107bada6401410a03659 /htl/herrno.c | |
parent | 9cffb295e3af682bcc1c2629e808e3db8a4e2cbf (diff) | |
download | glibc-04e7e2658c4ffe1a96fb445cbfe583a9d51ca622.tar.gz glibc-04e7e2658c4ffe1a96fb445cbfe583a9d51ca622.tar.xz glibc-04e7e2658c4ffe1a96fb445cbfe583a9d51ca622.zip |
Linux: consolidate sendfile implementation
This is similar to other LFS consolidation, where the non-LFS is only built if __OFF_T_MATCHES_OFF64_T is not defined and the LFS version is aliased to non-LFS name if __OFF_T_MATCHES_OFF64_T is defined. For non-LFS variant, use sendfile syscall if defined, otherwise use sendfile64 plus the offset overflow check (as generic implementation). Checked on x86_64-linux-gnu. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'htl/herrno.c')
0 files changed, 0 insertions, 0 deletions