/[base]
ViewVC logotype

Revision 337222


Jump to revision: Previous Next
Author: asomers
Date: Fri Aug 3 01:37:00 2018 UTC (5 years, 11 months ago)
Changed paths: 5
Log Message:
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


Changed paths

Path Details
Directoryhead/sys/kern/uipc_syscalls.c modified , text changed
Directoryhead/sys/kern/uipc_usrreq.c modified , text changed
Directoryhead/sys/sys/unpcb.h modified , text changed
Directoryhead/tests/sys/kern/Makefile modified , text changed
Directoryhead/tests/sys/kern/unix_socketpair_test.c added

  ViewVC Help
Powered by ViewVC 1.1.27