FreeBSD fix for AF_UNIX IPC socket permission (#58688)
authorJason Pugsley <jason.pugsley@gmail.com>
Fri, 17 Sep 2021 01:21:57 +0000 (11:21 +1000)
committerGitHub <noreply@github.com>
Fri, 17 Sep 2021 01:21:57 +0000 (18:21 -0700)
commitc5e31e676b5f486741543c4e54f6b762cfae6c12
tree990228c6667c98551f0d0af66dec88b0ab45fd2b
parent96cb482d2dde661cc394e66c8ee94d5edecd1724
FreeBSD fix for AF_UNIX IPC socket permission (#58688)

FreeBSD does not support changing AF_UNIX socket permissions with
chmod()/fchmod() so use the same umask() method as __APPLE__ builds.
src/coreclr/debug/debug-pal/unix/diagnosticsipc.cpp
src/native/eventpipe/ds-ipc-pal-socket.c