[Bug 199308] unix_passfd doesn't work

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 9 16:54:16 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199308

Garrett Cooper,425-314-3911 <ngie at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|freebsd-testing at freebsd.org |ngie at FreeBSD.org
         Resolution|---                         |FIXED
             Status|New                         |Closed

--- Comment #3 from Garrett Cooper,425-314-3911 <ngie at FreeBSD.org> ---
Fixed:

------------------------------------------------------------------------
r281314 | ngie | 2015-04-09 09:52:53 -0700 (Thu, 09 Apr 2015) | 18 lines

MFstable/10 r228371:

This missing MFC fixes PR 199308

r228371 (by jhb):

- Add a test for PR 151758.
- While here, make this compile and work on non-i386:
  - Use CMSG_SPACE(), CMSG_LEN(), and CMSG_FIRSTHDR() instead of ignoring
    padding between 'struct cmsghdr' and control message payloads.
  - Don't initialize the control message before calling recvmsg().
    Instead, check that we get a valid control message on return from
    recvmsg().
- Use errx() instead of err() for some errors that don't report failures
  that set errno.

Requested by:   kib (1)

------------------------------------------------------------------------

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


More information about the freebsd-testing mailing list