Re: [PATCH] proc: put check_mem_permission before __get_free_pagein mem_read
From: Stephen Wilson
Date: Mon Apr 25 2011 - 10:31:29 EST
On Sun, Apr 17, 2011 at 08:20:01PM -0400, bookjovi@xxxxxxxxx wrote:
> From: Jovi Zhang <bookjovi@xxxxxxxxx>
>
> It should be better if put check_mem_permission before __get_free_page
> in mem_read, to be same as function mem_write.
>
> Signed-off-by: Jovi Zhang <bookjovi@xxxxxxxxx>
looks good.
Reviewed-by: Stephen Wilson <wilsons@xxxxxxxx>
--
steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/