[PATCH v2 1/1] Detect identical genfscon

2018-03-22 Thread Pierre-Hugues Husson
From: Pierre-Hugues Husson Currently secilc doesn't deal with duplicate genfscon rules This commit fixes this, and implements multiple_decls behaviour. To reduce the code changes, the compare function returns in its LSB whether the rules are only a matching rule match, or a

[PATCH v2 0/1] Detect identical genfscon

2018-03-22 Thread Pierre-Hugues Husson
Currently secilc doesn't deal with duplicate genfscon rules. This commit fixes this, and implements multiple_decls behaviour. To reduce the code changes, the compare function returns in its LSB whether the rules are only a matching rule match, or a full match. One usecase is Android/Project

Re: [PATCH 0/1] Support multiple identical genfscon

2018-03-22 Thread jwcart2
On 03/19/2018 02:47 PM, Pierre-Hugues Husson wrote: secilc has a multiple_decls option to allow for multiple type declarations. The next step is to allow multiple samples of the same rules. This commit does this on genfscon One usecase is Android/Project Treble: With Project Treble, vendor

Re: dbus-daemon patches review

2018-03-22 Thread Dominick Grift
On Thu, Mar 22, 2018 at 12:09:08PM -0400, Stephen Smalley wrote: > On 03/21/2018 07:58 AM, Laurent Bigonville wrote: > > Hello, > > > > Could somebody have a quick look at the two patches that I opened for two > > dbus bugs: > > > > https://bugs.freedesktop.org/show_bug.cgi?id=92831 (stop using

Re: dbus-daemon patches review

2018-03-22 Thread Stephen Smalley
On 03/21/2018 07:58 AM, Laurent Bigonville wrote: > Hello, > > Could somebody have a quick look at the two patches that I opened for two > dbus bugs: > > https://bugs.freedesktop.org/show_bug.cgi?id=92831 (stop using avc_init()) > > https://bugs.freedesktop.org/attachment.cgi?id=138021 (stop