Re: [PATCH] checkpolicy: remove extraneous policy build noise

2018-09-21 Thread William Roberts
merged: https://github.com/SELinuxProject/selinux/pull/99 On Wed, Sep 19, 2018 at 12:13 PM Nick Kralevich via Selinux < selinux@tycho.nsa.gov> wrote: > Reduce noise when calling the checkpolicy command line. In Android, this > creates unnecessary build noise which we'd like to avoid. > >

Re: [PATCH] checkpolicy: remove extraneous policy build noise

2018-09-19 Thread Stephen Smalley
On 09/19/2018 03:41 PM, William Roberts wrote: On Wed, Sep 19, 2018 at 12:36 PM Stephen Smalley > wrote: On 09/19/2018 03:21 PM, William Roberts wrote: > Some people might be checking this output since it's been there so long, > -s would be a good

Re: [PATCH] checkpolicy: remove extraneous policy build noise

2018-09-19 Thread William Roberts
On Wed, Sep 19, 2018 at 12:36 PM Stephen Smalley wrote: > On 09/19/2018 03:21 PM, William Roberts wrote: > > Some people might be checking this output since it's been there so long, > > -s would be a good way to go. > > > > Alternatively, a way to bring back this information via a verbose option

Re: [PATCH] checkpolicy: remove extraneous policy build noise

2018-09-19 Thread Stephen Smalley
On 09/19/2018 03:21 PM, William Roberts wrote: Some people might be checking this output since it's been there so long, -s would be a good way to go. Alternatively, a way to bring back this information via a verbose option -V could be considered. Either way, a simple logging mechanism

Re: [PATCH] checkpolicy: remove extraneous policy build noise

2018-09-19 Thread William Roberts
Some people might be checking this output since it's been there so long, -s would be a good way to go. Alternatively, a way to bring back this information via a verbose option -V could be considered. Either way, a simple logging mechanism analogous to LOGV/LOGW/LOGE could be useful, I wonder

[PATCH] checkpolicy: remove extraneous policy build noise

2018-09-19 Thread Nick Kralevich via Selinux
Reduce noise when calling the checkpolicy command line. In Android, this creates unnecessary build noise which we'd like to avoid. https://en.wikipedia.org/wiki/Unix_philosophy Rule of Silence Developers should design programs so that they do not print unnecessary output. This rule aims to