[Bug 222039] Incorrect 32-bit emulation of SCM_BINTIME and SCM_TIMESTAMP

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 7 04:31:01 UTC 2017


--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:

Author: sobomax
Date: Thu Sep  7 04:29:57 UTC 2017
New revision: 323254
URL: https://svnweb.freebsd.org/changeset/base/323254

  In the recvmsg32() system call iterate over returned structure(s)
  and convert any messages of types SCM_BINTIME, SCM_TIMESTAMP,
  SCM_REALTIME and SCM_MONOTONIC from 64-bit to its 32-bit
  representation. Otherwise we either run out of user-supplied
  buffer to copy those out resulting in the MSG_CTRUNC or simply
  return values that the userland 32-bit code is not going
  to parse correctly. This fixes at least two regression tests
  failing to function properly in 32-bit compat mode:


  PR:             kern/222039
  MFC after:    30 days


You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list