Skip to content
Commit 23e085b2 authored by Keith Busch's avatar Keith Busch Committed by Christoph Hellwig
Browse files

nvme: restrict management ioctls to admin



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: default avatarKeith Busch <kbusch@kernel.org>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent a8eb6c1b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment