Application Kit: Add B_CLONEABLE_AREA permission to cloned server areas.
The Media Kit needs this for overlays.
This commit is contained in:
parent
c8e11499cc
commit
96e64e6e14
@ -90,7 +90,8 @@ ServerMemoryAllocator::AddArea(area_id serverArea, area_id& _area,
|
||||
|
||||
mapping->local_area = clone_area(readOnly
|
||||
? "server read-only memory" : "server_memory", &base, addressSpec,
|
||||
B_READ_AREA | (readOnly ? 0 : B_WRITE_AREA), serverArea);
|
||||
B_CLONEABLE_AREA | B_READ_AREA | (readOnly ? 0 : B_WRITE_AREA),
|
||||
serverArea);
|
||||
if (mapping->local_area < B_OK) {
|
||||
status = mapping->local_area;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user