Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • linux-vf linux-vf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-vflinux-vf
  • Repository
  • linux-vf
  • arch
  • x86
  • boot
  • compressed
  • misc.h
Find file BlameHistoryPermalink
  • Andrey Konovalov's avatar
    kasan, x86, s390: update undef CONFIG_KASAN · d201e3a2
    Andrey Konovalov authored Aug 12, 2020 and Vincenzo Frascino's avatar Vincenzo Frascino committed Nov 10, 2020
    
    
    With the intoduction of hardware tag-based KASAN some kernel checks of
    this kind:
    
      ifdef CONFIG_KASAN
    
    will be updated to:
    
      if defined(CONFIG_KASAN_GENERIC) || defined(CONFIG_KASAN_SW_TAGS)
    
    x86 and s390 use a trick to #undef CONFIG_KASAN for some of the code
    that isn't linked with KASAN runtime and shouldn't have any KASAN
    annotations.
    
    Also #undef CONFIG_KASAN_GENERIC with CONFIG_KASAN.
    
    Signed-off-by: default avatarAndrey Konovalov <andreyknvl@google.com>
    Signed-off-by: Vincenzo Frascino's avatarVincenzo Frascino <vincenzo.frascino@arm.com>
    Reviewed-by: default avatarMarco Elver <elver@google.com>
    Acked-by: default avatarVasily Gorbik <gor@linux.ibm.com>
    ---
    Change-Id: I2a622db0cb86a8feb60c30d8cb09190075be2a90
    d201e3a2