diff options
author | Matt Helsley <matthltc@us.ibm.com> | 2010-09-13 13:01:18 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-09-15 10:43:59 +0200 |
commit | d958077d007d98125766d11e82da2fd6497b91d6 (patch) | |
tree | c71106f6308a16bd50fc3f58338025c7848e5ec1 /crypto/api.c | |
parent | 64a48d90149bb7007275fac13eaa4cb8d8ce12ea (diff) |
hw breakpoints: Fix pid namespace bug
Hardware breakpoints can't be registered within pid namespaces
because tsk->pid is passed rather than the pid in the current
namespace.
(See https://bugzilla.kernel.org/show_bug.cgi?id=17281 )
This is a quick fix demonstrating the problem but is not the
best method of solving the problem since passing pids internally
is not the best way to avoid pid namespace bugs. Subsequent patches
will show a better solution.
Much thanks to Frederic Weisbecker <fweisbec@gmail.com> for doing the
bulk of the work finding this bug.
Signed-off-by: Matt Helsley <matthltc@us.ibm.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Robin Green <greenrd@greenrd.org>
Cc: Prasad <prasad@linux.vnet.ibm.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
LKML-Reference: <f63454af09fb1915717251570423eb9ddd338340.1284407762.git.matthltc@us.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions