]> git.ipfire.org Git - thirdparty/git.git/commit
simple-ipc/ipc-win32: add Windows ACL to named pipe
authorJeff Hostetler <jeffhost@microsoft.com>
Mon, 20 Sep 2021 15:36:16 +0000 (15:36 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Sep 2021 15:57:58 +0000 (08:57 -0700)
commit8750249053c6441e912a41a2feca8f22f73babc4
treecc6ef366cab82aa6c7d38e206ae2909c2e30d445
parent9bd51d4975a542adaa765af784595d7309e0dd84
simple-ipc/ipc-win32: add Windows ACL to named pipe

Set an ACL on the named pipe to allow the well-known group EVERYONE
to read and write to the IPC server's named pipe.  In the event that
the daemon was started with elevation, allow non-elevated clients
to communicate with the daemon.

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/simple-ipc/ipc-win32.c