Skip to content

Adds option to create named pipe with the FILE_FLAG_FIRST_PIPE_INSTANCE flag

Adds the possibility (through the wing_named_pipe_listener_add_first_instance_named_pipe) to create the named pipe, at the first creation, with the FILE_FLAG_FIRST_PIPE_INSTANCE flag set.

Subsequent creations will be performed without the flag set, but at that point the ACLs on the named pipe itself should guarantee that no malicious process can race the pipe creation in a secure named pipe setup.

For more details see FILE_FLAG_FIRST_PIPE_INSTANCE details at https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea .

Merge request reports