• Linus Torvalds's avatar
    Merge tag 'lsm-pr-20231030' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm · 2b93c2c3
    Linus Torvalds authored
    Pull LSM updates from Paul Moore:
    
     - Add new credential functions, get_cred_many() and put_cred_many() to
       save some atomic_t operations for a few operations.
    
       While not strictly LSM related, this patchset had been rotting on the
       mailing lists for some time and since the LSMs do care a lot about
       credentials I thought it reasonable to give this patch a home.
    
     - Five patches to constify different LSM hook parameters.
    
     - Fix a spelling mistake.
    
    * tag 'lsm-pr-20231030' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm:
      lsm: fix a spelling mistake
      cred: add get_cred_many and put_cred_many
      lsm: constify 'sb' parameter in security_sb_kern_mount()
      lsm: constify 'bprm' parameter in security_bprm_committed_creds()
      lsm: constify 'bprm' parameter in security_bprm_committing_creds()
      lsm: constify 'file' parameter in security_bprm_creds_from_file()
      lsm: constify 'sb' parameter in security_quotactl()
    2b93c2c3
cred.c 24.1 KB