Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 17 Jul 2012 16:31:04 -0400
From: David Jones <>
Cc: David Jones <>
Subject: Re: runtime plugins, FMT_MAIN_VERSION, and OpenVMS support (was: New core (?) LM fails alignment)

On Jul 16, 2012, at 3:18 PM, Solar Designer wrote:

> On Mon, Jul 16, 2012 at 11:59:21AM -0500, jfoug wrote:
>> With the addition of new param values (salt/bin align), should the fmt_main
>> version number be kicked up from 10 to 11, or do we simply ignore that
>> version 10 ever really 'existed'?
> The "OpenVMS support 2.4" plugin by David Jones is the only runtime
> plugin so far, but it does exist.  It's listed at:
> I think it checks for version 9.  So until we update this one, merely
> moving from version 9 to 10 is sufficient - no need to update to 11 and on.
> We just need to break compatibility with this one plugin gracefully,
> since we already broke it anyway.

The run-time check isn't explicitly for version 9, but that it matches the value of FMT_MAIN_VERSION at the time the plugin was compiled.  There are a couple compile-time checks that initialize the fmt_main structure differently based on a greater-than-8 or 9-or-greater version number.

> Also, I think we should integrate this OpenVMS support code, likely
> with changes (replace explicit pthreads with OpenMP? or just omit
> threads support initially, to simplify integration - then enhance?)

The code compiles in a single-threaded non-pthread form if HAVE_PTHREADS is not defined.
I'll have to study how other formats use OpenMP to see how much work is involved in replacing the parallel processing support.

> Then get rid of the runtime plugins support for now since I see almost
> no use for it at least in its current Linux-only form.

Is jumbo officially Linux-only now?  I notice the unrar stuff has some GNU C dependencies.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.