Re: [PATCH] Change semantic of -r in sefcontext_compile

2016-09-16 Thread William Roberts
On Fri, Sep 16, 2016 at 11:44 AM, Janis Danisevskis wrote: > I don't really care much about the behavior of sefcontext_compile. I just > thought making the default behavior the safest would be the best option. > Before android is using it, I will have to sync the (now modified

Re: [PATCH] Change semantic of -r in sefcontext_compile

2016-09-16 Thread William Roberts
On Sep 16, 2016 08:12, "Stephen Smalley" wrote: > > On 09/16/2016 11:08 AM, William Roberts wrote: > > On Fri, Sep 16, 2016 at 7:41 AM, Stephen Smalley wrote: > >> On 09/16/2016 09:08 AM, Janis Danisevskis wrote: > >>> This patch reestablishes the default

Re: [PATCH] Change semantic of -r in sefcontext_compile

2016-09-16 Thread Stephen Smalley
On 09/16/2016 11:08 AM, William Roberts wrote: > On Fri, Sep 16, 2016 at 7:41 AM, Stephen Smalley wrote: >> On 09/16/2016 09:08 AM, Janis Danisevskis wrote: >>> This patch reestablishes the default behavior of sefcontext_compile >>> to include precompiled regular expressions

Re: [PATCH] Change semantic of -r in sefcontext_compile

2016-09-16 Thread Stephen Smalley
On 09/16/2016 09:08 AM, Janis Danisevskis wrote: > This patch reestablishes the default behavior of sefcontext_compile > to include precompiled regular expressions in the output. If linked > against PCRE2 the flag "-r" now causes the precompiled regular > expressions to be omitted from the output.

[PATCH] Change semantic of -r in sefcontext_compile

2016-09-16 Thread Janis Danisevskis
This patch reestablishes the default behavior of sefcontext_compile to include precompiled regular expressions in the output. If linked against PCRE2 the flag "-r" now causes the precompiled regular expressions to be omitted from the output. --- libselinux/utils/sefcontext_compile.c | 8 +++-