Files
Linux/kernel
Oleg Nesterov 40814f6805 uprobes: Teach copy_insn() to support tmpfs
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 <[email protected]>
Suggested-by: Hugh Dickins <[email protected]>
Signed-off-by: Oleg Nesterov <[email protected]>
Acked-by: Srikar Dronamraju <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
2014-06-05 12:30:11 +02:00
..
2014-04-07 16:35:53 -07:00
2013-11-13 12:09:34 +09:00
…
…
…
…
…
…
…
…
2013-12-04 14:09:46 +10:30
…
2013-12-18 19:04:50 -08:00
…
2013-09-11 15:58:27 -07:00
…
2014-04-30 13:46:17 +02:00
…