summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-07-20Add support for dedicated 'secretmemfd' system call.HEADmasterMike Rapoport1-13/+47
If this system call is not implemented, retry with memfd_create(MFD_SECRET). Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
2020-05-27Add environment variable to select secret memory typeMike Rapoport1-1/+4
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
2020-05-27Add CRYPTO_clear_free(), otherwise openssl speed crashesMike Rapoport1-0/+8
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
2020-05-27Report the requested size in CRYPTO_malloc and CRYPTO_freeMike Rapoport1-2/+2
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
2020-05-27Use %zu for size_t format in printfMike Rapoport1-2/+2
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
2020-05-27Add INFO verbosity levelMike Rapoport1-5/+6
and use it for reporting CRYPTO_malloc and CRYPTO_free invocations. Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
2020-05-27Add LGPL 2.1 as the licenceJames Bottomley1-0/+178
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2020-04-18Add check for chunk minsizeJames Bottomley1-1/+8
2020-04-18Make malloc chunk head a separate structureJames Bottomley1-35/+41
2020-04-18Add a load more assertion checksJames Bottomley1-2/+11
2020-04-17Add additional segment handlingJames Bottomley2-11/+45
Fix bug in split_free_chunk when remainder is too small
2020-04-17refactor in preparation for allocating multiple segmentsJames Bottomley1-28/+52
2020-04-16Make the use of secret memory environment controlledJames Bottomley2-11/+14
Use no secret memory for make check Fix the intermediate rules problem
2020-04-16Add a rudimentary test routine for the preloader mallocJames Bottomley2-1/+72
2020-04-16Complete single segment allocatorJames Bottomley1-52/+125
Add debug and some assertions
2020-04-16Initial attempt at a minimal allocator based on dlmallocJames Bottomley1-7/+202
2020-04-15Initial commit (FOSDEM demo)James Bottomley3-0/+101