Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 10 May 2015 11:35:40 -0400
From: Mathieu Laprise <mathlaprise@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: [core john] [Johnny] Windows event loop

Thanks Aleksey for your comments.
Since there were no objections, yesterday, I implemented the solution #2 in
Johnny on branch WindowsSupport and it's working great. I'll make a pull
request soon.

On Sun, May 10, 2015 at 9:52 AM, Aleksey Cherepanov <lyosha@...nwall.com>
wrote:

> Mathieu,
>
> On Fri, May 08, 2015 at 02:38:54PM -0400, Mathieu Laprise wrote:
> > >
> > > > #ifdef __CYGWIN32__
> > > >
> > > >       SetConsoleCtrlHandler(sig_handle_abort_ctrl, TRUE);
> > > >
> > > > #endif
> > > It looks like it is for cygwin builds. But there may be a mingw build,
> > > no?
> >
> >
> > You have a good point. The code I copy pasted with CYGWIN32 was from
> > john-proper. But in jumbo, the code for this signal has #ifdef
> > WIN32_SIGNAL_HANDLER . So I guess since you said mingw was only supported
> > on jumbo, it's gonna be okay.
>
> Does john respect cygwin's kill? I guess it should work. Though `kill`
> of the same cygwin version may be needed. It may be the solution for
> core john.
>
> BTW I guess a signal to save status not quitting should work too.
>
> Thanks!
>
> --
> Regards,
> Aleksey Cherepanov
>

Content of type "text/html" skipped

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ