[Bug 176419] socketpair support for LOCAL_PEERCRED

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 1 18:01:13 UTC 2018


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

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

Author: asomers
Date: Mon Oct  1 18:00:53 UTC 2018
New revision: 339068
URL: https://svnweb.freebsd.org/changeset/base/339068

Log:
  MFC r337222:

  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>
  Differential Revision:        https://reviews.freebsd.org/D16350

Changes:
_U  stable/10/
  stable/10/sys/kern/uipc_syscalls.c
  stable/10/sys/kern/uipc_usrreq.c
  stable/10/sys/sys/unpcb.h
  stable/10/tests/sys/kern/Makefile
  stable/10/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