• Linus Torvalds's avatar
    Merge tag 'lsm-pr-20220829' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm · 9c9d1896
    Linus Torvalds authored
    Pull LSM support for IORING_OP_URING_CMD from Paul Moore:
     "Add SELinux and Smack controls to the io_uring IORING_OP_URING_CMD.
    
      These are necessary as without them the IORING_OP_URING_CMD remains
      outside the purview of the LSMs (Luis' LSM patch, Casey's Smack patch,
      and my SELinux patch). They have been discussed at length with the
      io_uring folks, and Jens has given his thumbs-up on the relevant
      patches (see the commit descriptions).
    
      There is one patch that is not strictly necessary, but it makes
      testing much easier and is very trivial: the /dev/null
      IORING_OP_URING_CMD patch."
    
    * tag 'lsm-pr-20220829' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm:
      Smack: Provide read control for io_uring_cmd
      /dev/null: add IORING_OP_URING_CMD support
      selinux: implement the security_uring_cmd() LSM hook
      lsm,io_uring: add LSM hooks for the new uring_cmd file op
    9c9d1896
uring_cmd.c 2.98 KB