Re: [PATCH] libselinux: disable filespec hash table stats on non-debug builds

2017-01-24 Thread Alan Jenkins
On 24/01/17 19:46, Stephen Smalley wrote: Disable generating filespec hash table stats on non-debug builds, as they are not useful information for users and cause fixfiles check to produce noisy output. Reported-by: Alan Jenkins Signed-off-by: Stephen

Re: [PATCH] policycoreutils/setfiles: set up a logging callback for libselinux

2017-01-24 Thread Alan Jenkins
On 24/01/17 19:39, Stephen Smalley wrote: Define a logging callback for libselinux so that any informational or error messages generated by libselinux functions are properly prefixed with the program name and routed to the proper output stream. Makes sense. It's a shame it makes the info

Re: [PATCH v6 0/9] SELinux support for Infiniband RDMA

2017-01-24 Thread Doug Ledford
On Tue, 2016-12-13 at 17:17 -0500, Paul Moore wrote: > On Tue, Dec 13, 2016 at 11:25 AM, Daniel Jurgens m> wrote: > > > > On 12/13/2016 9:01 AM, Stephen Smalley wrote: > > > > > > For the LSM/SELinux bits, > > > Acked-by: Stephen Smalley > > > > > >

[PATCH] libselinux: disable filespec hash table stats on non-debug builds

2017-01-24 Thread Stephen Smalley
Disable generating filespec hash table stats on non-debug builds, as they are not useful information for users and cause fixfiles check to produce noisy output. Reported-by: Alan Jenkins Signed-off-by: Stephen Smalley ---

Re: [PATCH] policycoreutils: let output of `fixfiles` be redirected (as normal)

2017-01-24 Thread Stephen Smalley
On Mon, 2017-01-23 at 12:15 +, Alan Jenkins wrote: > fixfiles was redirecting log output to `tty`.  This overrides user > intent > e.g. when shell redirection is used. > > Redirect it to stdout, using /proc.  `tty` equally depended on /proc. > We do not depend on /dev/stdout: it might not be