kernel/vm: Drop team argument from vm_set_area_protection.
It's not needed and just creates confusion. Permissions checks are done with the current team and the "kernel" parameter.
This commit is contained in:
@@ -115,7 +115,7 @@ status_t vm_delete_area(team_id teamID, area_id areaID, bool kernel);
|
||||
status_t vm_create_vnode_cache(struct vnode *vnode, struct VMCache **_cache);
|
||||
status_t vm_set_area_memory_type(area_id id, phys_addr_t physicalBase,
|
||||
uint32 type);
|
||||
status_t vm_set_area_protection(team_id team, area_id areaID,
|
||||
status_t vm_set_area_protection(area_id areaID,
|
||||
uint32 newProtection, bool kernel);
|
||||
status_t vm_get_page_mapping(team_id team, addr_t vaddr, phys_addr_t *paddr);
|
||||
bool vm_test_map_modification(struct vm_page *page);
|
||||
|
||||
Reference in New Issue
Block a user