MC no longer working with cygwin 3.1.x

Corinna Vinschen corinna-cygwin@cygwin.com
Sat Dec 21 19:26:00 GMT 2019


Hi Ken,

On Dec 21 15:48, Ken Brown wrote:
> [Moving from cygwin to cygwin-developers.]
> 
> Hi Corinna,
> 
> On 12/19/2019 4:24 AM, Corinna Vinschen wrote:
> > Ken, btw., we should add a PIPE_REJECT_REMOTE_CLIENTS flag, just for
> > paranoia.
> 
> Should this be FILE_PIPE_REJECT_REMOTE_CLIENTS?  It seems that most of the flags 
> for NtCreateNamedPipeFile start with "FILE_".

Right, it's FILE_PIPE_REJECT_REMOTE_CLIENTS, sorry about that.

> And which argument of NtCreateNamedPipeFile should that flag be in?  None of 
> them seem quite right to me.  Or is there some other function that should be 
> called after NtCreateNamedPipeFile to set that flag?

AFAICS it's a flag added to the message type, i.e.

  FILE_PIPE_MESSAGE_TYPE | FILE_PIPE_REJECT_REMOTE_CLIENTS

> Last question: The only documentation I found for NtCreateNamedPipeFile is here:
>  
> http://undocumented.ntinternals.net/index.html?page=UserMode%2FUndocumented%20Functions%2FNT%20Objects%2FFile%2FNtCreateFile.html
> 
> Is there anything better?

Not that I'm aware of.   There's only this and the Reactos source.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-developers/attachments/20191221/6d9680e2/attachment.sig>


More information about the Cygwin-developers mailing list