Re: [PATCH v5 2/9] IB/core: Enforce PKey security on QPs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/22/2016 5:24 PM, James Morris wrote:
> On Tue, 22 Nov 2016, Dan Jurgens wrote:
>
>> From: Daniel Jurgens <danielj@xxxxxxxxxxxx>
>>
>> Add new LSM hooks to allocate and free security contexts and check for
>> permission to access a PKey.
> I guess Doug's is best tree for these patches?
Maybe? In earlier versions I had kept the LSM, RDMA, and SELinux changes in separate patches Paul Moore thought it was best to squash them together functionally. Once everyone agrees they can merged they could all go to one tree.  They apply cleanly to Paul and Doug's trees for sure.
>
>> ---
>> v2:
>> - Squashed LSM hook additions. Paul Moore
>> - Changed security blobs to void*. Paul Moore
>>
>> v3:
>> - Change parameter order of pkey_access hook. Paul Moore
>> ---
>>  drivers/infiniband/core/Makefile     |   3 +-
>>  drivers/infiniband/core/cache.c      |  21 +-
>>  drivers/infiniband/core/core_priv.h  |  77 +++++
>>  drivers/infiniband/core/device.c     |  33 ++
>>  drivers/infiniband/core/security.c   | 617 +++++++++++++++++++++++++++++++++++
>>  drivers/infiniband/core/uverbs_cmd.c |  20 +-
>>  drivers/infiniband/core/verbs.c      |  27 +-
>>  include/linux/lsm_hooks.h            |  27 ++
>>  include/linux/security.h             |  21 ++
>>  include/rdma/ib_verbs.h              |  48 +++
>>  security/Kconfig                     |   9 +
>>  security/security.c                  |  31 ++
>>  12 files changed, 925 insertions(+), 9 deletions(-)
>>  create mode 100644 drivers/infiniband/core/security.c
>
> Acked-by: James Morris <james.l.morris@xxxxxxxxxx>
>
>


_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux