[IB] uverbs: Add a mask of device methods allowed for userspace
authorRoland Dreier <rolandd@cisco.com>
Fri, 14 Oct 2005 21:00:58 +0000 (14:00 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 17 Oct 2005 22:20:30 +0000 (15:20 -0700)
commit883a99c7024c5763d6d4f22d9239c133893e8d74
tree659a7982a51d0ba187dac826a5b1e5ef319692fd
parent56c202d6e4f542468fe79b8a735cf128898b87fb
[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 <rolandd@cisco.com>
drivers/infiniband/core/uverbs_main.c
drivers/infiniband/hw/mthca/mthca_provider.c
include/rdma/ib_verbs.h