On Fri, 11 Apr 2014 22:07:07 +0200 Sebastian Andrzej Siewior
<seba…@breakpoint.cc> wrote:
> tags 740059 + upstream
> forwarded 740059 https://bugzilla.clamav.net/show_bug.cgi?id=10971
> thanks
>
> On 2014-03-15 20:37:01 [+0100], Sebastian Andrzej Siewior wrote:
> > On 2014-03-16 00:16:38 [+0700], Ста Деюс wrote:
> > > Здравствуй, Sebastian.
> ...
Looking at the 1.4.7 tarball, libclamav/fmap.c:393-416):
if (use_aging) {
if ((m->data = (fmap_t *)mmap(NULL, mapsz,
PROT_READ | PROT_WRITE, MAP_PRIVATE | ANONYMOUS_MAP,
-1, 0)) == MAP_FAILED) {
m->data = NULL;
}
...
}
if (!use_aging) {
m->data = (fmap_t *)cli_max_malloc(mapsz);
}
Doesn't this do sort of what you want? Yet, it still wouldn't work on a
32-bit system? That would mean armhf, which is an officially supported
Debian architecture. Not sure if this bug can be closed, since the issue
is probably not resolved; but it also doesn't look like it will be?
For good measure, here's the Wayback Machine link to the original
Forwared bug report:
https://web.archive.org/web/20230624112529/https://bugzilla.clamav.net/show_bug.cgi?id=10971
--
Edmund Lodewijks <edmu…@proteamail.com>
TZ: UTC+2 / GMT+2