summaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2012-06-15 17:43:50 +0200
committerIngo Molnar <mingo@kernel.org>2012-06-16 09:10:47 +0200
commitd9c4a30e82614d43b55893a73f31e7284007ce82 (patch)
treeb877ed2338d27237e40b2587cdf9e6cd56fefe57 /fs/ecryptfs
parenteb2bf57bee42c7565032f93adaa211e2c9fcc52c (diff)
downloadtalos-obmc-linux-d9c4a30e82614d43b55893a73f31e7284007ce82.tar.gz
talos-obmc-linux-d9c4a30e82614d43b55893a73f31e7284007ce82.zip
uprobes: Move BUG_ON(UPROBE_SWBP_INSN_SIZE) from write_opcode() to install_breakpoint()
write_opcode() ensures that UPROBE_SWBP_INSN doesn't cross the page boundary. This looks a bit confusing, the check does not depend on vaddr and it is enough to do it only once right after install_breakpoint()->arch_uprobe_analyze_insn(). Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com> Cc: Anton Arapov <anton@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20120615154350.GA9611@redhat.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/ecryptfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud