summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@openvz.org>2012-06-07 14:21:12 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-06-07 14:43:55 -0700
commit300f786b2683f8bb1ec0afb6e1851183a479c86d (patch)
tree156c63abe6caaf885e439af30b7d883a33ba501d /tools/perf/scripts/python
parent1ad75b9e16280ca4e2501a629a225319cf2eef2e (diff)
downloadkernel-300f786b2683f8bb1ec0afb6e1851183a479c86d.tar.gz
c/r: prctl: add ability to get clear_tid_address
Zero is written at clear_tid_address when the process exits. This functionality is used by pthread_join(). We already have sys_set_tid_address() to change this address for the current task but there is no way to obtain it from user space. Without the ability to find this address and dump it we can't restore pthread'ed apps which call pthread_join() once they have been restored. This patch introduces the PR_GET_TID_ADDRESS prctl option which allows the current process to obtain own clear_tid_address. This feature is available iif CONFIG_CHECKPOINT_RESTORE is set. [akpm@linux-foundation.org: fix prctl numbering] Signed-off-by: Andrew Vagin <avagin@openvz.org> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Cc: Pedro Alves <palves@redhat.com> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Pavel Emelyanov <xemul@parallels.com> Cc: Tejun Heo <tj@kernel.org> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
nel/commit/drivers/parport?h=linux-6.12.y&id=0afafbf3aa7abc741920ff74d75093ae55864b40'>parport: parport_atari: Remove obsolete IRQ_TYPE_SLOWGeert Uytterhoeven 2014-12-14Merge tag 'char-misc-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds 2014-12-14Merge tag 'driver-core-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds 2014-11-26parport: parport_pc, do not remove parent devices earlyJiri Slaby 2014-11-06parport: Add support for the WCH382 2S/1P multi-IO cardSergej Pupykin 2014-10-20parport: drop owner assignment from platform_driversWolfram Sang 2014-09-23parport: parport_pc: Implement architecture and device check to cut off false...Matwey V. Kornilov 2014-09-23parport: parport_pc: Introduce intel_bug_present function.Matwey V. Kornilov 2014-08-08drivers/parport/parport_ip32.c: use PTR_ERR_OR_ZEROFabian Frederick 2014-07-25parport: fix menu breakageRandy Dunlap 2014-06-06parport: convert use of typedef ctl_table to struct ctl_tableJoe Perches 2014-05-28parport: Add support for the WCH353 1S/1P multi-IO cardEzequiel Garcia 2014-02-28parport: fix interruptible_sleep_on raceArnd Bergmann 2014-01-20Merge tag 'tty-3.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds 2014-01-20Merge tag 'char-misc-3.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds 2013-12-10parport: parport_pc: remove double PCI ID for NetMosSebastian Andrzej Siewior 2013-12-10parport_pc: remove unnecessary pci_set_drvdata()Jingoo Han 2013-12-10parport: parport_pc: fix id print of a deviceSebastian Andrzej Siewior 2013-12-08parport_serial: remove unnecessary pci_set_drvdata()Jingoo Han 2013-11-26zorro: ZTWO_VADDR() should return "void __iomem *"Geert Uytterhoeven 2013-11-15Merge tag 'for-linus' of git://linux-c6x.org/git/projects/linux-c6x-upstreamingLinus Torvalds 2013-11-15tree-wide: use reinit_completion instead of INIT_COMPLETIONWolfram Sang 2013-11-14Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-armLinus Torvalds 2013-11-12Merge tag 'h8300-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds 2013-10-31DMA-API: parport: parport_pc.c: use dma_coerce_mask_and_coherent()Russell King 2013-10-23Kconfig cleanup (PARPORT_PC dependencies)Mark Salter 2013-08-30drivers: parport: Kconfig: exclude h8300 for PARPORT_PCChen Gang 2013-08-27parport: amiga: remove unnecessary platform_set_drvdata()Jingoo Han 2013-07-03Merge branch 'akpm' (updates from Andrew Morton)Linus Torvalds 2013-07-03drivers/parport/share.c: use kzallocAlexandru Gheorghiu 2013-06-16parport: disable PC-style parallel port support on crisGeert Uytterhoeven 2013-06-01parisc: parport0: fix this legacy no-device port driver!Helge Deller 2013-06-01parport_pc: disable PARPORT_PC_SUPERIO on parisc architectureHelge Deller