0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-18 00:58:42 +00:00
bird/sysdep/unix
Maria Matejka 9eec503b25 Fixed a munmap abort bug
When BIRD was munmapping too many pages, it sometimes aborted, saying
that munmap failed with "Not enough memory" as the address space was
getting more and more fragmented.

There is a workaround in place, simply keeping that page for future use,
yet it has never been compiled in because I somehow forgot to include
errno.h. And because I also thought that somebody may have ENOMEM not
defined (why?!), there was a check which quietly omitted that
workaround.

Anyway, ENOMEM is POSIX. It's an utter nonsense to check for its
existence. If it doesn't exist, something is broken.
2022-04-13 11:36:54 +02:00
..
alloc.c Fixed a munmap abort bug 2022-04-13 11:36:54 +02:00
config.Y Log: Do not open logfiles when parse-and-exit option is active 2020-06-03 14:59:20 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
endian.h OpenBSD port related changes. 2009-05-11 01:32:49 +02:00
io.c IO: Support nonlocal bind in socket interface 2022-01-08 19:02:31 +01:00
krt.c Nest: Clean up main channel handling 2021-06-17 16:56:51 +02:00
krt.h Routing table is now a resource allocated from its own pool 2021-03-30 21:56:08 +02:00
krt.Y Dynamic attributes definition split whether it is bitmask or not. 2019-07-03 00:00:11 +02:00
log.c Log: Fix locking during log reconfiguration 2020-11-25 15:15:13 +01:00
main.c sysdep: Add wrapper to get random bytes 2021-06-06 16:26:06 +02:00
Makefile Slab: head now uses bitmask for used/free nodes info instead of lists 2021-03-25 16:47:48 +01:00
random.c sysdep: Add wrapper to get random bytes - update 2021-06-06 16:26:06 +02:00
unix.h BGP: Add support for BGP hostname capability 2021-02-10 16:53:57 +01:00