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
  • tools
  • objtool
  • objtool.c
Find file BlameHistoryPermalink
  • Peter Zijlstra's avatar
    objtool: Fix pv_ops noinstr validation · 988f0168
    Peter Zijlstra authored Dec 02, 2021
    Boris reported that in one of his randconfig builds, objtool got
    infinitely stuck. Turns out there's trivial list corruption in the
    pv_ops tracking when a function is both in a static table and in a code
    assignment.
    
    Avoid re-adding function to the pv_ops[] lists when they're already on
    it.
    
    Fixes: db2b0c5d
    
     ("objtool: Support pv_opsindirect calls for noinstr")
    Reported-by: default avatarBorislav Petkov <bp@alien8.de>
    Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
    Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
    Tested-by: default avatarBorislav Petkov <bp@alien8.de>
    Link: https://lkml.kernel.org/r/20211202204534.GA16608@worktop.programming.kicks-ass.net
    988f0168
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7