summaryrefslogtreecommitdiff
path: root/io_uring/uring_cmd.c
diff options
context:
space:
mode:
authorCasey Schaufler <casey@schaufler-ca.com>2022-08-24 02:46:18 +0300
committerPaul Moore <paul@paul-moore.com>2022-08-26 21:56:35 +0300
commitdd9373402280cf4715fdc8fd5070f7d039e43511 (patch)
tree35271a64bc505a2df4fc586b043d0939fc3d19fe /io_uring/uring_cmd.c
parent707527956d90ea4f304188555a97144183af1e49 (diff)
downloadlinux-dd9373402280cf4715fdc8fd5070f7d039e43511.tar.xz
Smack: Provide read control for io_uring_cmd
Limit io_uring "cmd" options to files for which the caller has Smack read access. There may be cases where the cmd option may be closer to a write access than a read, but there is no way to make that determination. Cc: stable@vger.kernel.org Fixes: ee692a21e9bf ("fs,io_uring: add infrastructure for uring-cmd") Signed-off-by: Casey Schaufler <casey@schaufler-ca.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'io_uring/uring_cmd.c')
0 files changed, 0 insertions, 0 deletions