lkml.org 
[lkml]   [2014]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] uprobes: Teach copy_insn() to support tmpfs
* Oleg Nesterov <oleg@redhat.com> [2014-05-19 20:41:36]:

> tmpfs is widely used but as Denys reports shmem_aops doesn't have
> ->readpage() and thus you can't probe a binary on this filesystem.
>
> As Hugh suggested we can use shmem_read_mapping_page() in this case,
> just we need to check shmem_mapping() if ->readpage == NULL.
>
> Reported-by: Denys Vlasenko <dvlasenk@redhat.com>
> Suggested-by: Hugh Dickins <hughd@google.com>
> Signed-off-by: Oleg Nesterov <oleg@redhat.com>

Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>

--
Thanks and Regards
Srikar Dronamraju



\
 
 \ /
  Last update: 2014-05-21 11:21    [W:0.044 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site