libroot: Set B_CLONEABLE_AREA under BeOS ABI.

As you can see, we already did the same for B_EXECUTE_AREA.
This commit is contained in:
Augustin Cavalier 2019-08-10 19:47:56 -04:00
parent 329866d1d0
commit 126d639908

View File

@ -26,7 +26,7 @@ clone_area(const char *name, void **address, uint32 addressSpec,
uint32 protection, area_id sourceArea)
{
if (__gABIVersion < B_HAIKU_ABI_GCC_2_HAIKU)
protection |= B_EXECUTE_AREA;
protection |= B_EXECUTE_AREA | B_CLONEABLE_AREA;
return _kern_clone_area(name, address, addressSpec, protection, sourceArea);
}