diff --git a/src/servers/app/ClientMemoryAllocator.cpp b/src/servers/app/ClientMemoryAllocator.cpp index 0693ce8f85..746f12cfd9 100644 --- a/src/servers/app/ClientMemoryAllocator.cpp +++ b/src/servers/app/ClientMemoryAllocator.cpp @@ -274,7 +274,7 @@ ClientMemoryAllocator::_AllocateChunk(size_t size, bool& newArea) fApplication->ClientTeam(), fApplication->SignatureLeaf()); #endif area_id area = create_area(name, (void**)&address, B_ANY_ADDRESS, size, - B_NO_LOCK, B_READ_AREA | B_WRITE_AREA); + B_NO_LOCK, B_READ_AREA | B_WRITE_AREA | B_CLONEABLE_AREA); if (area < B_OK) { free(block); free(chunk); diff --git a/src/servers/app/Desktop.cpp b/src/servers/app/Desktop.cpp index 962a6e1647..d31ddd7eef 100644 --- a/src/servers/app/Desktop.cpp +++ b/src/servers/app/Desktop.cpp @@ -498,7 +498,7 @@ Desktop::Init() char name[B_OS_NAME_LENGTH]; snprintf(name, sizeof(name), "d:%d:shared read only", fUserID); fSharedReadOnlyArea = create_area(name, (void **)&fServerReadOnlyMemory, - B_ANY_ADDRESS, areaSize, B_NO_LOCK, B_READ_AREA | B_WRITE_AREA); + B_ANY_ADDRESS, areaSize, B_NO_LOCK, B_READ_AREA | B_WRITE_AREA | B_CLONEABLE_AREA); if (fSharedReadOnlyArea < B_OK) return fSharedReadOnlyArea; diff --git a/src/servers/app/DirectWindowInfo.cpp b/src/servers/app/DirectWindowInfo.cpp index d005a53641..bed18dd895 100644 --- a/src/servers/app/DirectWindowInfo.cpp +++ b/src/servers/app/DirectWindowInfo.cpp @@ -31,7 +31,7 @@ DirectWindowInfo::DirectWindowInfo() { fBufferArea = create_area("direct area", (void**)&fBufferInfo, B_ANY_ADDRESS, DIRECT_BUFFER_INFO_AREA_SIZE, - B_NO_LOCK, B_READ_AREA | B_WRITE_AREA); + B_NO_LOCK, B_READ_AREA | B_WRITE_AREA | B_CLONEABLE_AREA); memset(fBufferInfo, 0, DIRECT_BUFFER_INFO_AREA_SIZE); fBufferInfo->buffer_state = B_DIRECT_STOP; diff --git a/src/servers/app/EventStream.cpp b/src/servers/app/EventStream.cpp index 9643262319..bb0f0de3e5 100644 --- a/src/servers/app/EventStream.cpp +++ b/src/servers/app/EventStream.cpp @@ -58,7 +58,7 @@ InputServerStream::InputServerStream(BMessenger& messenger) message.AddInt32("remote team", BPrivate::current_team()); fCursorArea = create_area("shared cursor", (void **)&fCursorBuffer, B_ANY_ADDRESS, - B_PAGE_SIZE, B_LAZY_LOCK, B_READ_AREA | B_WRITE_AREA); + B_PAGE_SIZE, B_LAZY_LOCK, B_READ_AREA | B_WRITE_AREA | B_CLONEABLE_AREA); if (fCursorArea >= B_OK) message.AddInt32("cursor area", fCursorArea);