about summary refs log tree commit diff
path: root/login
diff options
context:
space:
mode:
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>2022-10-19 19:14:18 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-12-07 11:27:01 -0300
commit04e7e2658c4ffe1a96fb445cbfe583a9d51ca622 (patch)
tree0352bc9e1ff77373b554107bada6401410a03659 /login
parent9cffb295e3af682bcc1c2629e808e3db8a4e2cbf (diff)
downloadglibc-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 'login')
0 files changed, 0 insertions, 0 deletions