Re: [PATCH 1/9] checkpolicy: Add support for ibpkeycon labels

2017-05-10 Thread Daniel Jurgens
On 5/10/2017 1:18 PM, Stephen Smalley wrote: > On Tue, 2017-05-09 at 23:50 +0300, Dan Jurgens wrote: >> From: Daniel Jurgens >> >> >> +#ifdef DARWIN >> +memcpy(>u.ibpkey.subnet_prefix[0], >> _prefix.s6_addr[0], >> + sizeof(newc->u.ibpkey.subnet_prefix)); >>

Re: [PATCH 1/9] checkpolicy: Add support for ibpkeycon labels

2017-05-10 Thread Stephen Smalley
On Tue, 2017-05-09 at 23:50 +0300, Dan Jurgens wrote: > From: Daniel Jurgens > > Add checkpolicy support for scanning and parsing ibpkeycon labels. > Also > create a new ocontext for Infiniband Pkeys and define a new policydb > version for infiniband support. > >

[PATCH 1/9] checkpolicy: Add support for ibpkeycon labels

2017-05-09 Thread Dan Jurgens
From: Daniel Jurgens Add checkpolicy support for scanning and parsing ibpkeycon labels. Also create a new ocontext for Infiniband Pkeys and define a new policydb version for infiniband support. Signed-off-by: Daniel Jurgens ---