libroot/os: Remove B_CLONEABLE_AREA protection check.
Due to how API versions work, it seems this flag is still applied on a lot of applications, as some have some rather old API versions (actually API versions themselves may not be working quite right, to boot.) All relevant software should have had a chance to be recompiled on or after beta2, so we reduce the flag's automatic application back just to BeOS applications.
This commit is contained in:
parent
913373053f
commit
049eb4cb89
@ -16,9 +16,7 @@ create_area(const char *name, void **address, uint32 addressSpec, size_t size,
|
||||
uint32 lock, uint32 protection)
|
||||
{
|
||||
if (__gABIVersion < B_HAIKU_ABI_GCC_2_HAIKU)
|
||||
protection |= B_EXECUTE_AREA;
|
||||
if (__gAPIVersion < B_HAIKU_VERSION_1_PRE_BETA_2)
|
||||
protection |= B_CLONEABLE_AREA;
|
||||
protection |= B_EXECUTE_AREA | B_CLONEABLE_AREA;
|
||||
return _kern_create_area(name, address, addressSpec, size, lock, protection);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user