After resolving the flag clash things work. Use our nice B_KERNEL_{READ,WRITE}_AREA flags for clarity.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11052 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
b6f895e7fb
commit
ea3df577a3
@ -150,8 +150,7 @@ MessagingArea::Create(sem_id lockSem, sem_id counterSem)
|
||||
// create the area
|
||||
area->fID = create_area("messaging", (void**)&area->fHeader,
|
||||
B_ANY_KERNEL_ADDRESS, kMessagingAreaSize, B_FULL_LOCK,
|
||||
// B_USER_CLONEABLE_AREA);
|
||||
B_READ_AREA | B_WRITE_AREA | B_USER_CLONEABLE_AREA);
|
||||
B_KERNEL_READ_AREA | B_KERNEL_WRITE_AREA | B_USER_CLONEABLE_AREA);
|
||||
if (area->fID < 0) {
|
||||
delete area;
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user