Re: [PATCH v2 1/1] libsepol/cil: create user and role caches when building binary policy

2016-10-03 Thread James Carter
On 10/03/2016 07:44 AM, Gary Tierney wrote: Pre-expands the role and user caches used in context validation when conerting a cildb to a binary policydb. This is currently only done when loading a binary policy and prevents context validation from working correctly with a newly built policy

[PATCH v2 1/1] libsepol/cil: create user and role caches when building binary policy

2016-10-03 Thread Gary Tierney
Pre-expands the role and user caches used in context validation when conerting a cildb to a binary policydb. This is currently only done when loading a binary policy and prevents context validation from working correctly with a newly built policy (i.e., when semanage builds a new policy and then