Page MenuHomeFreeBSD

Use umtx_copyin_umtx_time32() in __umtx_op_lock_umutex_compat32().
ClosedPublic

Authored by brooks on Mar 5 2018, 6:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 19, 4:09 PM
Unknown Object (File)
Mon, May 11, 9:49 AM
Unknown Object (File)
May 6 2026, 11:20 PM
Unknown Object (File)
May 5 2026, 8:08 PM
Unknown Object (File)
Apr 27 2026, 8:35 PM
Unknown Object (File)
Apr 21 2026, 12:22 AM
Unknown Object (File)
Apr 19 2026, 6:25 AM
Unknown Object (File)
Apr 12 2026, 1:13 AM
Subscribers

Details

Summary

This appears to have been a typo. This had no impact because the
underlying implementation returns EINTR if timeout is non-NULL.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15375
Build 15426: arc lint + arc unit

Event Timeline

The change is fine, but I do not understand the comment. I suspect that often invalid clock_id is read and ulock compat32 fails.

This revision is now accepted and ready to land.Mar 5 2018, 6:25 PM
In D14587#306249, @kib wrote:

The change is fine, but I do not understand the comment. I suspect that often invalid clock_id is read and ulock compat32 fails.

You are correct. I misread do_lock_umutex.

This revision was automatically updated to reflect the committed changes.