summaryrefslogtreecommitdiff
path: root/kernel/pid_namespace.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2014-10-24 18:56:01 (GMT)
committerSteven Rostedt <rostedt@goodmis.org>2014-10-24 20:33:36 (GMT)
commit8252ecf346474cfe46315bd0a7ca655c293c34a9 (patch)
tree71a1ee72107c5907ea8bd898c536ad65b0367de3 /kernel/pid_namespace.c
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
downloadlinux-8252ecf346474cfe46315bd0a7ca655c293c34a9.tar.xz
ftrace: Set ops->old_hash on modifying what an ops hooks to
The code that checks for trampolines when modifying function hooks tests against a modified ops "old_hash". But the ops old_hash pointer is not being updated before the changes are made, making it possible to not find the right hash to the callback and possibly causing ftrace to break in accounting and disable itself. Have the ops set its old_hash before the modifying takes place. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/pid_namespace.c')
0 files changed, 0 insertions, 0 deletions