]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitfab0a692734a1f41832df5885389d4e91fbbeafb
tree659a7982a51d0ba187dac826a5b1e5ef319692fd
parente120870ea74cddcfc0f3d3e5c8eac51c9c6527e5
[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