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
  • include
  • linux
  • moduleloader.h
Find file BlameHistoryPermalink
  • Nicholas Piggin's avatar
    module: add module_elf_check_arch for module-specific checks · f9231a99
    Nicholas Piggin authored Nov 28, 2022
    
    
    The elf_check_arch() function is also used to test compatibility of
    usermode binaries. Kernel modules may have more specific requirements,
    for example powerpc would like to test for ABI version compatibility.
    
    Add a weak module_elf_check_arch() that defaults to true, and call it
    from elf_validity_check().
    
    Signed-off-by: default avatarJessica Yu <jeyu@kernel.org>
    [np: added changelog, adjust name, rebase]
    Acked-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
    Signed-off-by: default avatarNicholas Piggin <npiggin@gmail.com>
    Reviewed-by: default avatarJoel Stanley <joel@jms.id.au>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    Link: https://lore.kernel.org/r/20221128041539.1742489-2-npiggin@gmail.com
    f9231a99
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7