0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-01-03 07:31:54 +00:00
bird/sysdep
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
..
bsd Socket closing has its dedicated function 2023-04-22 20:48:42 +02:00
bsd-netlink Netlink: move OS-specific headers and defines to sysdep 2022-12-16 19:21:51 +01:00
cf Alloc: Disable transparent huge pages 2023-01-17 17:13:50 +01:00
linux Sockets: Unified API for main and other loops 2023-04-04 17:00:59 +02:00
unix Resource pools are now bound with domains. 2023-04-24 10:33:28 +02:00
config.h Updated the version number to not include dash (breaks RPM) 2023-04-18 10:11:07 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
sysdep.sgml Spelling fixes to progdoc. 2000-06-07 12:29:08 +00:00