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)
Wed, May 1, 9:55 AM
Unknown Object (File)
Jan 13 2024, 3:37 AM
Unknown Object (File)
Dec 21 2023, 12:42 PM
Unknown Object (File)
Nov 9 2023, 5:36 PM
Unknown Object (File)
Sep 6 2023, 10:51 PM
Unknown Object (File)
Sep 6 2023, 10:51 PM
Unknown Object (File)
Sep 6 2023, 10:49 PM
Unknown Object (File)
Sep 1 2023, 4:45 PM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.