aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2017-03-16 13:47:49 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-16 14:16:52 +0100
commite7cc4865f0f31698ef2f7aac01a50e78968985b7 (patch)
tree5b4aa9c70956b5bc7b6e62edb00f2b14d007e62d /tools/perf/scripts/python/bin/stackcollapse-report
parentperf/core: Fix use-after-free in perf_release() (diff)
downloadlinux-e7cc4865f0f31698ef2f7aac01a50e78968985b7.tar.gz
linux-e7cc4865f0f31698ef2f7aac01a50e78968985b7.zip
perf/core: Fix event inheritance on fork()
While hunting for clues to a use-after-free, Oleg spotted that perf_event_init_context() can loose an error value with the result that fork() can succeed even though we did not fully inherit the perf event context. Spotted-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Vince Weaver <vincent.weaver@maine.edu> Cc: oleg@redhat.com Cc: stable@vger.kernel.org Fixes: 889ff0150661 ("perf/core: Split context's event group list into pinned and non-pinned lists") Link: http://lkml.kernel.org/r/20170316125823.190342547@infradead.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
ions'>-11/+14 2019-03-03tls: Fix mixing between async capable and asyncEran Ben Elisha1-6/+9 2019-03-03tls: Fix write space handlingBoris Pismenny4-9/+39 2019-03-03tls: Fix tls_device handling of partial recordsBoris Pismenny3-33/+9 2019-03-03net: phy: remove gen10g_no_soft_resetHeiner Kallweit5-13/+5 2019-03-03net: phy: don't export gen10g_read_statusHeiner Kallweit2-3/+1 2019-03-03net: phy: remove gen10g_config_initHeiner Kallweit4-17/+0 2019-03-03net: phy: remove gen10g_suspend and gen10g_resumeHeiner Kallweit2-16/+0 2019-03-03net: phy: use genphy_c45_aneg_done in genphy_aneg_doneHeiner Kallweit1-8/+4 2019-03-03fsl/fman: Use vsprintf extension %pMJoe Perches1-3/+1 2019-03-03net: ipv6: add socket option IPV6_ROUTER_ALERT_ISOLATEFrancesco Ruggeri4-1/+19 2019-03-03net: fixup address-space warnings in compat_mc_{get,set}sockopt()Ben Dooks1-4/+4 2019-03-03net: dsa: Use prepare/commit phase in dsa_slave_vlan_rx_add_vid()Florian Fainelli1-3/+6 2019-03-03dpaa2-eth: add XDP_REDIRECT supportIoana Radulescu3-14/+176 2019-03-03dpaa2-eth: Add software annotation typesIoana Radulescu2-22/+40 2019-03-03sch_cake: Simplify logic in cake_select_tin()Toke Høiland-Jørgensen1-38/+23 2019-03-03sch_cake: Permit use of connmarks as tin classifiersKevin Darbyshire-Bryant2-7/+28 2019-03-03sch_cake: Make the dual modes fairerGeorge Amanakis1-29/+63 2019-03-03net: macb: Add support for suspend/resume with full power downHarini Katakam1-2/+38 2019-03-03net: macb: Add pm runtime supportHarini Katakam1-36/+112 2019-03-03net: macb: Support clock management for tsu_clkHarini Katakam2-6/+27 2019-03-03net: macb: Check MDIO state before read/write and use timeoutsHarini Katakam2-6/+29 2019-03-03net: dsa: microchip: add KSZ9893 switch supportTristram Ha3-15/+235 2019-03-03net: dsa: add KSZ9893 switch tagging supportTristram Ha4-0/+38 2019-03-03dt-bindings: net: dsa: document additional Microchip KSZ9477 family switchesTristram Ha1-0/+43 2019-03-02selftests: bpf: break up test_progs - miscStanislav Fomichev11-735/+754 2019-03-02selftests: bpf: break up test_progs - spinlockStanislav Fomichev4-103/+106 2019-03-02selftests: bpf: break up test_progs - tracepointStanislav Fomichev5-427/+431 2019-03-02selftests: bpf: break up test_progs - stackmapStanislav Fomichev6-476/+483 2019-03-02selftests: bpf: break up test_progs - xdpStanislav Fomichev5-162/+163 2019-03-02selftests: bpf: break up test_progs - pkt accessStanislav Fomichev3-51/+53 2019-03-02selftests: bpf: break up test_progs - preparationsStanislav Fomichev4-76/+119 2019-03-02Bluetooth: mediatek: add support for MediaTek MT7663U and MT7668U UART devicesSean Wang1-10/+271