[corinna-cygwin@cygwin.com: Re: ENOTSOCK errors with cygwin dll 1.3.21 and 1.3.22]

Corinna Vinschen vinschen@redhat.com
Thu May 29 03:33:00 GMT 2003


On Wed, May 28, 2003 at 03:05:04PM +0200, Corinna Vinschen wrote:
> On Wed, May 28, 2003 at 02:37:10PM +0200, Corinna Vinschen wrote:
> > However, what if it's just the wrong parameter?  Come to think of it,
> > the 2nd parameter is the own process id.  What if the access to the own
> > process is limited from the unpriv'ed users perspective?
> > 
> > The next try would be to change the access to the process handle, right?
> 
> Uh, well, that leaves an interesting problem.  The function gets the
> process *id*, so how to change the access to the process when no
> handle is involved...

Wanna see something funny?

http://groups.google.com/groups?q=wsaduplicatesocket+WSAEINVAL&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=3BDFD21F.2080707%40cygnus.com&rnum=1

This is from October 2001.  The posting never got a reply.  Especially
look for the poster and the described workaround...

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.



More information about the Cygwin-developers mailing list