summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCasey Schaufler <casey@schaufler-ca.com>2022-08-24 02:46:18 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-15 11:47:18 +0300
commit37a0883c582420c13696ba33426d298a49f07cd1 (patch)
tree93030dcc65edb857a5224fcd5d1b85029126a533 /include
parent2ad39828ee35c87e9a7eff735a4fc1ef90ba863a (diff)
downloadlinux-37a0883c582420c13696ba33426d298a49f07cd1.tar.xz
Smack: Provide read control for io_uring_cmd
commit dd9373402280cf4715fdc8fd5070f7d039e43511 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions