Hello Steve, 

I want to add a change preventing creation of the L2 RAW_QPT from user 
priviledge (uid = 0 will be able to do such operation) 

What is the best place to do such change: ibv_create_qp in libibverbs(verbs.c) 
or  allowing to  decide for NIC vendors if they want to enable such API to user 
or root. In that case the change is requested only for libnes library?

Regards,

Mirek

-----Original Message-----
From: Steve Wise [mailto:[email protected]] 
Sent: Wednesday, May 19, 2010 6:00 PM
To: Walukiewicz, Miroslaw
Cc: Roland Dreier; Hefty, Sean; linux-rdma
Subject: Re: [PATCH v2] libibverbs: add path record definitions to sa.h

Walukiewicz, Miroslaw wrote:
> Hello Steve, 
>
> Do you plan some changes in the core code related to RAW_QPT? 
>
>   


The only changes I see needed to the kernel core is the mcast change you 
already proposed to allow mcast attach/detach for RAW_ETY qps...


> Could you explain me better what means "priviledged interface" for you?
>
>   


I just mean that allocating these raw qps should only be allowed by 
effective UID 0.  This is analogous to PF_PACKET sockets which are 
privileged as well.



Steve.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to