[Bug 176419] socketpair support for LOCAL_PEERCRED

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 3 01:37:56 UTC 2018


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

Alan Somers <asomers at FreeBSD.org> changed:

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

commit-hook at freebsd.org changed:

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

--- Comment #5 from commit-hook at 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 at 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

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


More information about the freebsd-net mailing list