0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-09-20 04:15:19 +00:00
bird/sysdep/unix
Maria Matejka 22f54eaee6 Resource pools are now bound with domains.
Memory allocation is a fragile part of BIRD and we need checking that
everybody is using the resource pools in an appropriate way. To assure
this, all the resource pools are associated with locking domains and
every resource manipulation is thoroughly checked whether the
appropriate locking domain is locked.

With transitive resource manipulation like resource dumping or mass free
operations, domains are locked and unlocked on the go, thus we require
pool domains to have higher order than their parent to allow for this
transitive operations.

Adding pool locking revealed some cases of insecure memory manipulation
and this commit fixes that as well.
2023-04-24 10:33:28 +02:00
..
alloc.c Misc allocator fixes 2023-04-04 17:00:59 +02:00
config.Y Decoupling loops from threads to allow fixed thread count 2023-01-19 11:13:50 +01:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
domain.c Fixed various build problems on FreeBSD and/or CLang 2023-01-20 18:31:57 +01:00
endian.h OpenBSD port related changes. 2009-05-11 01:32:49 +02:00
io-loop.c Resource pools are now bound with domains. 2023-04-24 10:33:28 +02:00
io-loop.h IO: added a specific loop pickup group for BFD; to be done better in future 2023-04-17 13:30:14 +02:00
io.c Socket closing has its dedicated function 2023-04-22 20:48:42 +02:00
krt.c Resource pools are now bound with domains. 2023-04-24 10:33:28 +02:00
krt.h Merge commit '534d0a4b' into thread-next 2022-08-05 10:37:53 +02:00
krt.Y Conf: Allowing keyword redefinition 2022-05-04 15:39:21 +02:00
log.c Temporarily switching off time annotations of debug log 2023-04-04 17:00:58 +02:00
main.c Merge commit '231c6385' into thread-next-iface 2023-04-14 14:00:54 +02:00
Makefile Merge commit 'd2c1036a42881d413ec97203ede92a69f8cd218f' into thread-next 2022-09-09 13:15:50 +02:00
random.c sysdep: Add wrapper to get random bytes - update 2021-06-06 16:26:06 +02:00
unix.h Sockets: Unified API for main and other loops 2023-04-04 17:00:59 +02:00