mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
[IB] uverbs: Add a mask of device methods allowed for userspace
Give each device a uverbs_cmd_mask, so that a low-level driver can control which methods may be called on behalf of userspace. Signed-off-by: Roland Dreier <[email protected]>
This commit is contained in:
1 parent
56c202d6e4
commit
883a99c702
3 files changed
+23
-1
No files matched your search
@@ -951,6 +951,7 @@ struct ib_device {
|
||||
IB_DEV_UNREGISTERED
|
||||
} reg_state;
|
||||
|
||||
u64 uverbs_cmd_mask;
|
||||
int uverbs_abi_ver;
|
||||
|
||||
u8 node_type;
|
||||
|
||||
Reference in new issue
Block a user