Re: [PATCH v1 5/9] libsepol: Add ibendport ocontext handling

2017-05-18 Thread Daniel Jurgens
On 5/17/2017 8:53 AM, James Carter wrote: > On 05/15/2017 04:42 PM, Dan Jurgens wrote: >> From: Daniel Jurgens >> >> >> +exit: >> +if (rc != 0) { >> +sepol_log_err("Error writing ibendportcon rules to CIL\n"); >> +} >> + >> +return rc; >> +} >> + > You need to have the iben

Re: [PATCH v1 5/9] libsepol: Add ibendport ocontext handling

2017-05-17 Thread James Carter
On 05/15/2017 04:42 PM, Dan Jurgens wrote: From: Daniel Jurgens Add support for reading, writing, and copying IB end port ocontext data. Also add support for querying a IB end port sid to checkpolicy. Signed-off-by: Daniel Jurgens --- v1: Stephen Smalley: - Removed unused domain and type par

[PATCH v1 5/9] libsepol: Add ibendport ocontext handling

2017-05-15 Thread Dan Jurgens
From: Daniel Jurgens Add support for reading, writing, and copying IB end port ocontext data. Also add support for querying a IB end port sid to checkpolicy. Signed-off-by: Daniel Jurgens --- v1: Stephen Smalley: - Removed unused domain and type params from sepol_ibendport_sid. - Remove ibendp