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
You need to sign in or sign up before continuing.
  • linux
  • kernel
  • module.c
Find file BlameHistoryPermalink
  • Steven Rostedt's avatar
    kmemleak: Scan all allocated, writeable and not executable module sections · 06c9494c
    Steven Rostedt authored May 15, 2013
    
    
    Instead of just picking data sections by name (names that start
    with .data, .bss or .ref.data), use the section flags and scan all
    sections that are allocated, writable and not executable. Which should
    cover all sections of a module that might reference data.
    
    Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
    [catalin.marinas@arm.com: removed unused 'name' variable]
    [catalin.marinas@arm.com: collapsed 'if' blocks]
    Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
    Acked-by: default avatarRusty Russell <rusty@rustcorp.com.au>
    06c9494c
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7