selinux: Create policydb version for Infiniband support
authorDaniel Jurgens <danielj@mellanox.com>
Fri, 19 May 2017 12:48:55 +0000 (15:48 +0300)
committerPaul Moore <paul@paul-moore.com>
Tue, 23 May 2017 16:27:32 +0000 (12:27 -0400)
commita806f7a1616f29b80749d708115a643c1f4ba056
tree5b002e6d61f6a43ab59b24bb5e92e369cbdceeca
parent47a2b338fe63200d716d2e24131cdb49f17c77da
selinux: Create policydb version for Infiniband support

Support for Infiniband requires the addition of two new object contexts,
one for infiniband PKeys and another IB Ports. Added handlers to read
and write the new ocontext types when reading or writing a binary policy
representation.

Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Reviewed-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: James Morris <james.l.morris@oracle.com>
Acked-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/include/security.h
security/selinux/ss/policydb.c
security/selinux/ss/policydb.h