set_area_protection
extern status_t set_area_protection(area_id id, uint32 newProtection);
Syscall *set_area_protection = get_syscall("_kern_set_area_protection");
set_area_protection->GetParameter("newProtection")->SetHandler(
set_area_protection(fHeader->message_area, B_READ_AREA);
set_area_protection(meta_data_area, B_READ_AREA);
set_area_protection(area, B_READ_AREA | B_WRITE_AREA | B_CLONEABLE_AREA);
set_area_protection(info->text_region.id, kernelProtection | B_KERNEL_WRITE_AREA);
set_area_protection(info->text_region.id, kernelProtection);
error = set_area_protection(area,
set_area_protection(area, areaInfo.protection);
status_t status = set_area_protection(newArea, B_READ_AREA);
set_area_protection(image->text_region.id,
set_area_protection(image->text_region.id,
set_area_protection(area_for(ptr + B_PAGE_SIZE * 3), B_READ_AREA | B_WRITE_AREA);
status_t error = set_area_protection(areas[i],