Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-iv
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • 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-iv
  • Repository
Switch branch/tag
  • linux-iv
  • mm
  • kasan
  • common.c
Find file BlameHistoryPermalink
  • Vincenzo Frascino's avatar
    kasan: remove kasan_unpoison_stack_above_sp_to() · c0e16ab3
    Vincenzo Frascino authored Aug 06, 2020
    kasan_unpoison_stack_above_sp_to() is defined in kasan code but never
    used.  The function was introduced as part of the commit:
    
       commit 9f7d416c ("kprobes: Unpoison stack in jprobe_return() for KASAN")
    
    ... where it was necessary because x86's jprobe_return() would leave
    stale shadow on the stack, and was an oddity in that regard.
    
    Since then, jprobes were removed entirely, and as of commit:
    
      commit 80006dbe
    
     ("kprobes/x86: Remove jprobe implementation")
    
    ... there have been no callers of this function.
    
    Remove the declaration and the implementation.
    
    Signed-off-by: Vincenzo Frascino's avatarVincenzo Frascino <vincenzo.frascino@arm.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Reviewed-by: Mark Rutland's avatarMark Rutland <mark.rutland@arm.com>
    Reviewed-by: default avatarAndrey Konovalov <andreyknvl@google.com>
    Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
    Cc: Alexander Potapenko <glider@google.com>
    Cc: Dmitry Vyukov <dvyukov@google.com>
    Link: http://lkml.kernel.org/r/20200706143505.23299-1-vincenzo.frascino@arm.com
    
    
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    c0e16ab3