summaryrefslogtreecommitdiff
path: root/mm/mempolicy.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@redhat.com>2010-03-12 18:22:17 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-01 16:01:30 -0700
commit803557f8ebad33836b66b5d3f83dcbd902daa417 (patch)
treecad1d67ad36e0a78923db81080c06c47d1125855 /mm/mempolicy.c
parent118c29f02194a7874cbbff605b2ec544b97d5610 (diff)
perf probe: Fix probe_point buffer overrun
commit 594087a04eea544356f9c52e83c1a9bc380ce80f upstream. Fix probe_point array-size overrun problem. In some cases (e.g. inline function), one user-specified probe-point can be translated to many probe address, and it overruns pre-defined array-size. This also removes redundant MAX_PROBES macro definition. Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com> Cc: systemtap <systemtap@sources.redhat.com> Cc: DLE <dle-develop@lists.sourceforge.net> LKML-Reference: <20100312232217.2017.45017.stgit@localhost6.localdomain6> [ Note that only root can create new probes. Eventually we should remove the MAX_PROBES limit, but that is a larger patch not eligible to perf/urgent treatment. ] Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions