Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Aug 2018 01:37:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 176419] socketpair support for LOCAL_PEERCRED
Message-ID:  <bug-176419-7501-bTOFiPFEBV@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-176419-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-176419-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D176419

Alan Somers <asomers@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |In Progress

commit-hook@freebsd.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|In Progress                 |Open

--- Comment #5 from commit-hook@freebsd.org ---
A commit references this bug:

Author: asomers
Date: Fri Aug  3 01:37:01 UTC 2018
New revision: 337222
URL: https://svnweb.freebsd.org/changeset/base/337222

Log:
  Fix LOCAL_PEERCRED with socketpair(2)

  Enable the LOCAL_PEERCRED socket option for unix domain stream sockets
  created with socketpair(2). Previously, it only worked with unix domain
  stream sockets created with socket(2)/listen(2)/connect(2)/accept(2).

  PR:           176419
  Reported by:  Nicholas Wilson <nicholas@nicholaswilson.me.uk>
  MFC after:    2 weeks
  Differential Revision:        https://reviews.freebsd.org/D16350

Changes:
  head/sys/kern/uipc_syscalls.c
  head/sys/kern/uipc_usrreq.c
  head/sys/sys/unpcb.h
  head/tests/sys/kern/Makefile
  head/tests/sys/kern/unix_socketpair_test.c

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-176419-7501-bTOFiPFEBV>