commit | dd9373402280cf4715fdc8fd5070f7d039e43511 | [log] [tgz] |
---|---|---|
author | Casey Schaufler <casey@schaufler-ca.com> | Tue Aug 23 16:46:18 2022 -0700 |
committer | Paul Moore <paul@paul-moore.com> | Fri Aug 26 14:56:35 2022 -0400 |
tree | 35271a64bc505a2df4fc586b043d0939fc3d19fe | |
parent | 707527956d90ea4f304188555a97144183af1e49 [diff] |
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>