diff options
author | Keith Busch <kbusch@kernel.org> | 2022-09-22 07:54:06 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-12-08 11:16:33 +0100 |
commit | 397ab6fbaf409e463a3d3e22bea5cb77809a5f81 (patch) | |
tree | b30c886c8e6115d7d42d9e60e3129f0b8624dd61 /arch | |
parent | 205c1e9ac56a5cd1a7d0bc457d8b38871f5b37ed (diff) | |
download | linux-stable-397ab6fbaf409e463a3d3e22bea5cb77809a5f81.tar.gz linux-stable-397ab6fbaf409e463a3d3e22bea5cb77809a5f81.tar.bz2 linux-stable-397ab6fbaf409e463a3d3e22bea5cb77809a5f81.zip |
nvme: restrict management ioctls to admin
commit 23e085b2dead13b51fe86d27069895b740f749c0 upstream.
The passthrough commands already have this restriction, but the other
operations do not. Require the same capabilities for all users as all of
these operations, which include resets and rescans, can be disruptive.
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions