mirror of
https://github.com/drasko/codezero.git
synced 2026-01-14 03:43:15 +01:00
Removed unnecessary printks, fixed few minor issues.
This commit is contained in:
@@ -25,6 +25,7 @@ int check_access(unsigned long vaddr, unsigned long size, unsigned int flags)
|
||||
/* Do not allow ridiculously big sizes */
|
||||
if (size >= USER_AREA_SIZE)
|
||||
return -EINVAL;
|
||||
|
||||
/* Check if in user range, but this is more up to the pager to decide */
|
||||
if (current->tid == PAGER_TID) {
|
||||
if (!(vaddr >= INITTASK_AREA_START && vaddr < INITTASK_AREA_END))
|
||||
|
||||
Reference in New Issue
Block a user