aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/mlocker.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-09-27unit_tests: add check for page size > 0 before dividingmoneromooo-monero1-0/+1
Coverity 188426
2018-09-27unit_tests: use std::shared_ptr to shut coverity up about leaksmoneromooo-monero1-34/+34
Coverity 188436, 188433, 188428, 188415, 188416, 188410, 188400, 188298, 188299, 188321, 188342, 188343, 188355, 188357, 188361, 188366, 188374
2018-08-23unit_tests: disable mlocker tests on windows (no implementation)moneromooo-monero1-0/+8
2018-08-16common: add a class to safely wrap mlock/munlockmoneromooo-monero1-0/+186
This class will allow mlocking small objects, of which there may be several per page. It adds refcounting so pages are only munlocked when the last object on that page munlocks.