Skip to content

Implement pvalloc

Peter Limkilde Svendsen requested to merge plimkilde/relibc:pvalloc into master

Implement pvalloc(), a GNU extension.

Apart from simply adding the function and tests, this also implies moving malloc.h to the bits dir so that it can be combined with declarations from the new malloc Rust module.

The errno setting when page size cannot be converted to a size_t is currently inconsistent with valloc, but I think valloc's implementation should be changed in another MR.

Merge request reports