summaryrefslogtreecommitdiffstats
path: root/arch/h8300
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2013-01-28 17:08:47 +0100
committerOleg Nesterov <oleg@redhat.com>2013-02-08 18:24:14 +0100
commit7e4e28c53963e6cfa94d8109bb8f5233c5659048 (patch)
tree5405bc0552ef0f2d8c67bb9ef6b391f5a7a504b3 /arch/h8300
parentuprobes/tracing: Fully initialize uprobe_trace_consumer before uprobe_register() (diff)
downloadlinux-7e4e28c53963e6cfa94d8109bb8f5233c5659048.tar.xz
linux-7e4e28c53963e6cfa94d8109bb8f5233c5659048.zip
uprobes/tracing: Ensure inode != NULL in create_trace_uprobe()
probe_event_enable/disable() check tu->inode != NULL at the start. This is ugly, if igrab() can fail create_trace_uprobe() should not succeed and "postpone" the failure. And S_ISREG(inode->i_mode) check added by d24d7dbf is not safe. Note: alloc_uprobe() should probably check igrab() != NULL as well. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'arch/h8300')
0 files changed, 0 insertions, 0 deletions