commit | 58fef61e7350d64049a04c9a4b21c86ce35c35de | [log] [tgz] |
---|---|---|
author | Steve Lawrence <slawrence@tresys.com> | Wed Apr 13 14:58:03 2011 -0400 |
committer | Steve Lawrence <slawrence@tresys.com> | Wed Apr 13 15:42:39 2011 -0400 |
tree | 483f2f667c1cc32f84297bf7a343dfc070b14138 | |
parent | 34df32ab85a914c2bb7430e40716be7cbfa0a6bb [diff] |
libsepol: use the correct number of roletrans rules when not supported When writing the roletrans rules, rules are dropped when not supported, but the number of rules is not decreased. This sets the number of elements to the actual number of rules that will be written. Signed-off-by: Steve Lawrence <slawrence@tresys.com>