This is the mail archive of the
mailing list for the Cygwin project.
Re: Logging-in using ssh elevates the user privilege.
On Fri, 8 Mar 2019 16:56:35 +0100 Corinna Vinschen wrote:
> > Does this affect to listen() as well?
> No, listen isn't affected.
The cause is failure of setsockopt().
setsockopt() before accept() failed with EALREADY.
I looked into fhandler_sock_local.cc.
connect_state() is checked if it is 'unconnected', however,
it is 'listener' after listen() is called. So it failed.
Takashi Yano <firstname.lastname@example.org>
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple