Re: [PATCH v3 1/4] pagemap: check permissions and capabilities at open time

From: Naoya Horiguchi
Date: Wed Jun 17 2015 - 03:59:56 EST

On Tue, Jun 09, 2015 at 11:00:15PM +0300, Konstantin Khlebnikov wrote:
> From: Konstantin Khlebnikov <khlebnikov@xxxxxxxxxxxxxx>
> This patch moves permission checks from pagemap_read() into pagemap_open().
> Pointer to mm is saved in file->private_data. This reference pins only
> mm_struct itself. /proc/*/mem, maps, smaps already work in the same way.
> Signed-off-by: Konstantin Khlebnikov <khlebnikov@xxxxxxxxxxxxxx>
> Link:

Reviewed-by: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx> --
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at