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 16:52:36 +0300
From: Aleksey Cherepanov <lyosha@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: [core john] [Johnny] Windows event loop

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

Powered by blists - more mailing lists

Your e-mail address:

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