aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2023-05-02 18:43:41 +0000
committerKeith Busch <[email protected]>2023-12-04 16:39:03 +0000
commit7be866b1cf0bf1dfa74480fe8097daeceda68622 (patch)
treef2e902d55e20da6d2577083bf95c661ed888c06c /security/selinux/hooks.c
parentnvme: ensure reset state check ordering (diff)
downloadkernel-7be866b1cf0bf1dfa74480fe8097daeceda68622.tar.gz
kernel-7be866b1cf0bf1dfa74480fe8097daeceda68622.zip
nvme-ioctl: move capable() admin check to the end
This can be an expensive call on some kernel configs. Move it to the end after checking the cheaper ways to determine if the command is allowed. Reviewed-by: Jens Axboe <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions