While reviewing all of the use cases of OFF_TO_IDX(), I observed that vmoff()'s return type is vm_offset_t rather than vm_ooffset_t. Consequently, sendfile() could have problems transmitting files larger than 4 GB on 32-bit architectures.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable