public inbox for cygwin-developers@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin-developers@cygwin.com
Subject: Re: MC no longer working with cygwin 3.1.x
Date: Sat, 21 Dec 2019 19:26:00 -0000	[thread overview]
Message-ID: <20191221192602.GE3628@calimero.vinschen.de> (raw)
In-Reply-To: <233fcd05-ec59-2f76-feba-b655e14f6098@cornell.edu>

[-- Attachment #1: Type: text/plain, Size: 1178 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2019-12-21 19:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <DB8PR01MB5996973955794728D12078E6BC530@DB8PR01MB5996.eurprd01.prod.exchangelabs.com>
     [not found] ` <97c8a719-73b9-e0ec-9651-97c2c684a086@gmail.com>
     [not found]   ` <20191218193205.GP10310@calimero.vinschen.de>
     [not found]     ` <c3809f52-1842-83d6-6692-53f6caec3491@cornell.edu>
     [not found]       ` <e79cd247-c573-3c27-6636-c6d9a32447a4@towo.net>
     [not found]         ` <1f5d0151-51c4-bd89-4fa9-137b88a543c8@cornell.edu>
     [not found]           ` <20191219092409.GS10310@calimero.vinschen.de>
2019-12-21 15:48             ` Ken Brown
2019-12-21 19:26               ` Corinna Vinschen [this message]
2019-12-21 21:18                 ` Ken Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191221192602.GE3628@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin-developers@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).