Was introduced with 31dddc6a19042bad303cb3d3aa8f52a2cb22dd77. We could revert part of that commit instead (and inline user_ptr32_to_psaddr) but I think the fn serves some documentary purpose.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
One comment, but either way this is a good change.
usr.bin/truss/syscalls.c | ||
---|---|---|
1559โ1561 | I think you can omit the second sentence. |
usr.bin/truss/syscalls.c | ||
---|---|---|
1559โ1561 | Yeah, good point, although it's probably the "currently" that is superfluous. Maybe "Convert a 32-bit user-space pointer to psaddr_t by zero-extending." |