The slab areas shouldn't be user readable...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23231 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
9a2d0cf6ff
commit
aad0d344f0
@ -277,7 +277,7 @@ area_allocate_pages(object_cache *cache, void **pages, uint32 flags)
|
||||
// so we lock them. when moving the slab to the empty list we should
|
||||
// unlock them, and lock them again when getting one from the empty list.
|
||||
area_id areaId = create_area(cache->name, pages, B_ANY_KERNEL_ADDRESS,
|
||||
cache->slab_size, lock, B_READ_AREA | B_WRITE_AREA);
|
||||
cache->slab_size, lock, B_KERNEL_READ_AREA | B_KERNEL_WRITE_AREA);
|
||||
if (areaId < 0)
|
||||
return areaId;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user