0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-01-03 07:31:54 +00:00
bird/sysdep/unix
Maria Matejka 0f81b32da4 Slab: head now uses bitmask for used/free nodes info instead of lists
From now, there are no auxiliary pointers stored in the free slab nodes.
This led to strange debugging problems if use-after-free happened in
slab-allocated structures, especially if the structure's first member is
a next pointer.

This also reduces the memory needed by 1 pointer per allocated object.
OTOH, we now rely on pages being aligned to their size's multiple, which
is quite common anyway.
2020-07-23 20:58:04 +02:00
..
alloc.c Slab: head now uses bitmask for used/free nodes info instead of lists 2020-07-23 20:58:04 +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 Unix socket: Path length check directly before copying the path. 2020-05-01 15:19:12 +02:00
krt.c Nest: Added const to ea_show just to declare that this shouldn't really change anything 2020-05-01 15:19:12 +02:00
krt.h Nest: Added const to ea_show just to declare that this shouldn't really change anything 2020-05-01 15:19:12 +02:00
krt.Y Dynamic attributes definition split whether it is bitmask or not. 2019-07-03 00:00:11 +02:00
log.c Configuration strings are constant. 2020-04-09 15:37:14 +02:00
main.c Log: Do not open logfiles when parse-and-exit option is active 2020-06-03 14:59:20 +02:00
Makefile Slab: head now uses bitmask for used/free nodes info instead of lists 2020-07-23 20:58:04 +02:00
random.c Split random number functions off io.c, so that they can be documented 2000-06-05 11:46:40 +00:00
unix.h Log: Do not open logfiles when parse-and-exit option is active 2020-06-03 14:59:20 +02:00