Re: [PATCH v2 7/9] selinux: Implement Infiniband PKey "Access" access vector

2016-07-22 Thread Paul Moore
On Thu, Jul 14, 2016 at 6:56 PM, Dan Jurgens wrote: > From: Daniel Jurgens > > Add a type and access vector for PKeys. Implement the ib_pkey_access > hook to check that the caller has permission to access the PKey on the > given subnet prefix. Add an

[PATCH v2 7/9] selinux: Implement Infiniband PKey "Access" access vector

2016-07-15 Thread Dan Jurgens
From: Daniel Jurgens Add a type and access vector for PKeys. Implement the ib_pkey_access hook to check that the caller has permission to access the PKey on the given subnet prefix. Add an interface to get the PKey SID. Walk the PKey ocontexts to find an entry for the given