From: "Paul Smedley" Received: from [192.168.100.201] (HELO mail.2rosenthals.com) by 2rosenthals.com (CommuniGate Pro SMTP 5.4.10) with ESMTPS id 8123193 for ecs-isp@2rosenthals.com; Tue, 17 Oct 2023 23:24:41 -0400 Received: from secmgr-va.2rosenthals.com ([50.73.8.217]:54183 helo=mail2.2rosenthals.com) by mail.2rosenthals.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qsxAc-0004Wu-2x for ecs-isp@2rosenthals.com; Tue, 17 Oct 2023 23:24:30 -0400 Received: from weasel.tulip.relay.mailchannels.net ([23.83.218.247]:42477) by mail2.2rosenthals.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qsxAX-0007ne-0u for ecs-isp@2rosenthals.com; Tue, 17 Oct 2023 23:24:25 -0400 X-Sender-Id: perthwebhosting|x-authuser|paul@smedley.id.au Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 5C7637A0356; Wed, 18 Oct 2023 03:24:21 +0000 (UTC) Received: from colossiansvm.perthwebhosting.net.au (unknown [127.0.0.6]) (Authenticated sender: perthwebhosting) by relay.mailchannels.net (Postfix) with ESMTPA id 9035A7A0FD8 for ; Wed, 18 Oct 2023 03:24:20 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1697599461; a=rsa-sha256; cv=none; b=qHpZLn/e8+JkYQ7vyraN5dAvrkr/6nFsz3o04crj2yKHG7gk7K+QM1045XkbEIjpWe0EAu 3SeOWdv5Ieki0OvFCwTtAN5BggGzThfKQza1h92nJ+MEozzi/mVAiwlXgiLTAaRzJ4pVX3 7wPN0R+b6h/Ld6X/4o2ZxardfX0CzoONVw9LqroQtnrx7P/w9FChkgiXw5BzjOFtly5Wsy jkfUWtdCU1KeJwXKZ/Xa+xOlUFFtZIkgSy3PDJCkUZ3vfVeD/mOpBdOv0vuQ+VYrDzgli1 Rp9izeZLawqlrcLmk/i7Q70RSkk6UbfX3BzEORQdpxLPFzaTN/0kwgAfDOVxFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1697599461; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NW/D0xGK1m1r1C18uAwBjFruPnoLnwcK7F8wxiYgRqs=; b=SAultRo4zaEl8zM0/3VsTPlQrGvESP3GfDM63wTNipMKdn0f2B7x0XfEh+cD6MJKL83AO2 xqITMMXzpfKYxUL2bXSM512RFv1y1ROJZdN6R265xXMM8D7PzYsmQIfUt1jOeDa3yQm1ig mf81D+WYNpZlYvxjaoDLsH+m+sqOxQ4SWZ9CBUcbRVGlp/LnUrvuUh7YcoZ/BZIGuCZklo 0YT+D2EoT2x31A3lei0oQBGrcrUayDvXJZC0pkooLoLJinqS0owgizEq2CBc4r7EoiFTp4 e4Al2h8QJe6M7e4lsx+cjE14mxNFI9PGOTqlkaaXVKzeZgoBx6rBGfP1hG9Zxg== ARC-Authentication-Results: i=1; rspamd-77cc7ccf48-7s5cg; auth=pass smtp.auth=perthwebhosting smtp.mailfrom=paul@smedley.id.au X-Sender-Id: perthwebhosting|x-authuser|paul@smedley.id.au X-MC-Relay: Neutral X-MC-Copy: stored-urls X-MailChannels-SenderId: perthwebhosting|x-authuser|paul@smedley.id.au X-MailChannels-Auth-Id: perthwebhosting X-Cellar-Desert: 05a2b6ec5b369a42_1697599461225_1237978805 X-MC-Loop-Signature: 1697599461225:4035858236 X-MC-Ingress-Time: 1697599461224 Received: from colossiansvm.perthwebhosting.net.au (colossiansvm.perthwebhosting.net.au [103.13.84.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.113.180.174 (trex/6.9.2); Wed, 18 Oct 2023 03:24:21 +0000 Received: from 218-215-61-148.sta.wbroadband.net.au ([218.215.61.148]:34118 helo=[192.168.1.159]) by colossiansvm.perthwebhosting.net.au with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.96.1) (envelope-from ) id 1qsxAS-001sBW-30 for ecs-isp@2rosenthals.com; Wed, 18 Oct 2023 11:24:17 +0800 Message-ID: Date: Wed, 18 Oct 2023 13:54:17 +1030 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [eCS-ISP] ClamAV - USE_MPOOL To: eCS ISP Mailing List References: Content-Language: en-AU In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AuthUser: paul@smedley.id.au Hi Steven, On 18/10/23 11:44, Steven Levine wrote: > In , on 10/15/23 > at 05:45 PM, "Paul Smedley" 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 > 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