kernel: Remove the B_KERNEL_AREA protection flag.
It is now no longer used.
This commit is contained in:
@@ -31,9 +31,7 @@
|
||||
// flags region in the protection field.
|
||||
#define B_OVERCOMMITTING_AREA 0x1000
|
||||
#define B_SHARED_AREA 0x2000
|
||||
#define B_KERNEL_AREA 0x4000
|
||||
// Usable from userland according to its protection flags, but the area
|
||||
// itself is not deletable, resizable, etc from userland.
|
||||
/* 0x4000 was B_KERNEL_AREA until hrev52545 */
|
||||
|
||||
#define B_USER_AREA_FLAGS (B_USER_PROTECTION | B_OVERCOMMITTING_AREA)
|
||||
#define B_KERNEL_AREA_FLAGS \
|
||||
|
||||
@@ -230,7 +230,6 @@ UiUtils::AreaProtectionFlagsToString(uint32 protection, BString& _output)
|
||||
ADD_AREA_FLAG_IF_PRESENT(B_OVERCOMMITTING_AREA, protection, _output, "o",
|
||||
"");
|
||||
ADD_AREA_FLAG_IF_PRESENT(B_SHARED_AREA, protection, "S", _output, "");
|
||||
ADD_AREA_FLAG_IF_PRESENT(B_KERNEL_AREA, protection, "k", _output, "");
|
||||
|
||||
if (protection != 0) {
|
||||
char buffer[32];
|
||||
|
||||
@@ -66,7 +66,7 @@ clone_commpage_area(team_id team, void** address)
|
||||
if (*address == NULL)
|
||||
*address = (void*)KERNEL_USER_DATA_BASE;
|
||||
return vm_clone_area(team, "commpage", address,
|
||||
B_RANDOMIZED_BASE_ADDRESS, B_READ_AREA | B_EXECUTE_AREA | B_KERNEL_AREA,
|
||||
B_RANDOMIZED_BASE_ADDRESS, B_READ_AREA | B_EXECUTE_AREA,
|
||||
REGION_PRIVATE_MAP, sCommPageArea, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user