Mensaje archivado #593 de la Lista ecs-isp@2rosenthals.com

De: "Massimo S." <ecs-isp@2rosenthals.com> Encabezados Completos
Mensaje no decodificado
Asunto: Re: [eCS-ISP] ClamAV - USE_MPOOL
Fecha: Wed, 18 Oct 2023 08:45:48 +0200
Para: eCS ISP Mailing List <ecs-isp@2rosenthals.com>



Il 18/10/2023 05:24, Paul Smedley ha scritto:
Hi Steven,

On 18/10/23 11:44, Steven Levine wrote:
In <list-8113084@2rosenthals.com>, on 10/15/23
    at 05:45 PM, "Paul Smedley" <ecs-isp@2rosenthals.com> said:

Hi Paul,

Is there a reason you are not building with USE_MPOOL?  Looking at:

libclamav\mpool.c:637
void *mpool_malloc(struct MP *mp, size_t size)

and friends, the OS/2 code seems to be in place to support mpool using
DosAllocMem rather than mmap.  However, it looks like configure is missing
the code to allow OS/2 to enable mpool support.  Looking at

configure:22851
have_mempool="no"
if test "$enable_mempool" = "yes"; then

configure will not allow enable_mempool because it assumes that OS/2 is
going to use mmap to implement the pool.

I hacked clamav-config.h to enable mpool and rebuilt.

It seems to work - https://smedley.id.au/tmp/clamav-0.103.10-os2-20231018-debug.zip

hi,

404..

massimo


BTW, when you get a moment, please commit your configure and build cmd
files to the repo.  They are a useful reference.

Will do when I figure out mods to https://github.com/psmedley/clamav-os2/blob/main/m4/reorganization/code_checks/mpool.m4 and/or build with cmake.

Cheers,

Paul


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
This message is sent to you because you are subscribed to
  the mailing list <ecs-isp@2rosenthals.com>.
To unsubscribe, E-mail to: <ecs-isp-off@2rosenthals.com>
To switch to the DIGEST mode, E-mail to <ecs-isp-digest@2rosenthals.com>
To switch to the INDEX mode, E-mail to <ecs-isp-index@2rosenthals.com>
Send administrative queries to  <ecs-isp-request@2rosenthals.com>
To subscribe (new addresses), E-mail to: <ecs-isp-on@2rosenthals.com> and reply to the confirmation email.
Web archives are publicly available at: http://lists.2rosenthals.com

This list is hosted by Rosenthal & Rosenthal, LLC
P.O. Box 281, Deer Park, NY 11729-0281. Non-
electronic communications related to content
contained in these messages should be directed
to the above address. (CAN-SPAM Act of 2003)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Suscribirse: Todos, Compendio, Indice.
Desuscribirse
Correo al dueño de la Lista