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
  • kernel
  • groups.c
Find file BlameHistoryPermalink
  • Micah Morton's avatar
    security: Add LSM hook to setgroups() syscall · fcfe0ac2
    Micah Morton authored Jun 08, 2022
    
    
    Give the LSM framework the ability to filter setgroups() syscalls. There
    are already analagous hooks for the set*uid() and set*gid() syscalls.
    The SafeSetID LSM will use this new hook to ensure setgroups() calls are
    allowed by the installed security policy. Tested by putting print
    statement in security_task_fix_setgroups() hook and confirming that it
    gets hit when userspace does a setgroups() syscall.
    
    Acked-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
    Reviewed-by: default avatarSerge Hallyn <serge@hallyn.com>
    Signed-off-by: default avatarMicah Morton <mortonm@chromium.org>
    fcfe0ac2
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7