sooptcopyin checks if size of data provided by user is <= 4 bytes to fit optval (which is int). If size of data is bigger than 4 bytes then it strips down the size to 4.
On bigendian platforms we have to move pointer as well so we copy the actual data.
Details
Details
- Reviewers
wollman gnn - Group Reviewers
network - Commits
- rS306186: Adjust the sopt_val pointer on bigendian systems (e.g. MIPS64EB).
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable