Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • kernel
  • context_tracking.c
Find file BlameHistoryPermalink
  • Masami Hiramatsu's avatar
    x86/kprobes: Fix build errors and blacklist context_track_user · 4cdf77a8
    Masami Hiramatsu authored Jun 14, 2014
    This essentially reverts commit:
    
      ecd50f71
    
     ("kprobes, x86: Call exception_enter after kprobes handled")
    
    since it causes build errors with CONFIG_CONTEXT_TRACKING and
    that has been made from misunderstandings;
    context_track_user_*() don't involve much in interrupt context,
    it just returns if in_interrupt() is true.
    
    Instead of changing the do_debug/int3(), this just adds
    context_track_user_*() to kprobes blacklist, since those are
    still can be called right before kprobes handles int3 and debug
    exceptions, and probing those will cause an infinite loop.
    
    Reported-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    Signed-off-by: default avatarMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
    Cc: Borislav Petkov <bp@suse.de>
    Cc: Kees Cook <keescook@chromium.org>
    Cc: Jiri Kosina <jkosina@suse.cz>
    Cc: Rusty Russell <rusty@rustcorp.com.au>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Seiji Aguchi <seiji.aguchi@hds.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Kees Cook <keescook@chromium.org>
    Link: http://lkml.kernel.org/r/20140614064711.7865.45957.stgit@kbuild-fedora.novalocal
    
    
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    4cdf77a8
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7