Re: [PATCH] libselinux, policycoreutils: Man page warning fixes

2015-11-24 Thread Stephen Smalley
On 11/07/2015 04:20 AM, Ville Skyttä wrote: Signed-off-by: Ville Skyttä Thanks, applied. --- libselinux/man/man3/security_load_booleans.3| 2 +- libselinux/man/man3/selinux_binary_policy_path.3| 2 +- libselinux/man/man8/avcstat.8 | 2 +- libselinux/man

Re: [PATCH] libselinux: Correct line count for property and service contexts files

2015-11-24 Thread Stephen Smalley
On 11/23/2015 08:52 AM, Richard Haines wrote: When a line number is displayed for context errors they are x2 the correct value, so reset line count for each pass. Signed-off-by: Richard Haines Thanks, applied. --- libselinux/src/label_android_property.c | 3 ++- 1 file changed, 2 inserti

Re: [PATCH] libsepol: Fully expand neverallowxperm rules

2015-11-24 Thread Stephen Smalley
On 11/21/2015 11:26 AM, Richard Haines wrote: Currently neverallowxperm rules will be resolved correctly when building policy, however they are not detectable when using tools such as an updated version of setools. This patch will allow these to be viewed in the same way as neverallow rules are i

libsepol bug report

2015-11-24 Thread David Binderman
Hello there, ./cil/src/cil_tree.c:1279:36: warning: duplicated 'if' condition [-Wduplicated-cond] Source code is     if (filecon->context_str != NULL) {     cil_log(CIL_INFO, " %s", filecon->context_str);     } else if (filecon->context != NULL) {     cil