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
  • security
  • keys
  • sysctl.c
Find file BlameHistoryPermalink
  • Joel Granados's avatar
    lsm: remove the now superfluous sentinel element from ctl_table array · 74560bb3
    Joel Granados authored Mar 28, 2024
    This commit comes at the tail end of a greater effort to remove the
    empty elements at the end of the ctl_table arrays (sentinels) which will
    reduce the overall build time size of the kernel and run time memory
    bloat by ~64 bytes per sentinel (further information Link :
    https://lore.kernel.org/all/ZO5Yx5JFogGi%2FcBo@bombadil.infradead.org/
    
    )
    
    Remove the sentinel from all files under security/ that register a
    sysctl table.
    
    Signed-off-by: default avatarJoel Granados <j.granados@samsung.com>
    Acked-by: Kees Cook <keescook@chromium.org> # loadpin & yama
    Tested-by: default avatarValentin Schneider <vschneid@redhat.com>
    Reviewed-by: default avatarValentin Schneider <vschneid@redhat.com>
    [PM: subject line tweaks]
    Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
    74560bb3
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7