Page MenuHomeFreeBSD

truss: remove now-unused special case for MIPS
ClosedPublic

Authored by emaste on Oct 17 2022, 5:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 8 2024, 10:26 PM
Unknown Object (File)
Sep 30 2024, 1:41 PM
Unknown Object (File)
Sep 30 2024, 1:33 PM
Unknown Object (File)
Sep 30 2024, 1:31 PM
Unknown Object (File)
Sep 27 2024, 5:44 PM
Unknown Object (File)
Sep 22 2024, 11:23 PM
Unknown Object (File)
Sep 7 2024, 3:53 AM
Unknown Object (File)
Sep 5 2024, 7:44 PM
Subscribers
None

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste created this revision.
This revision is now accepted and ready to land.Oct 17 2022, 5:44 PM

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."

This revision was automatically updated to reflect the committed changes.