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> > > -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html