]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib: Ignore ENOSYS errors from madvise() calls.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 10 Feb 2016 17:30:42 +0000 (19:30 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 11 Feb 2016 11:35:01 +0000 (13:35 +0200)
commit4ff6d11dc314dd2c88630f34850a6850b94e7095
treed44edae62829aefef42f81048c4c91b85cb9b996
parentd5cdf90f01fe1b5a5e049f341398b2ee329b4de5
lib: Ignore ENOSYS errors from madvise() calls.

For example Raspberry Pi kernels have removed this. We'll wrap all the
madvise() calls with my_madvise() to avoid extra checks all over the place.
src/lib/mmap-util.c
src/lib/mmap-util.h