Re: [PATCH] secilc: resolve conflicts in expandattribute.

2018-03-14 Thread Jeffrey Vander Stoep via Selinux
On Wed, Mar 14, 2018 at 4:05 PM, William Roberts wrote: > On Wed, Mar 14, 2018 at 3:17 PM, Tri Vo wrote: >> When Android combines multiple .cil files from system.img and vendor.img >> it's possible to have conflicting expandattribute statements, e.g.

Re: [PATCH] secilc: resolve conflicts in expandattribute.

2018-03-14 Thread William Roberts
On Wed, Mar 14, 2018 at 3:17 PM, Tri Vo wrote: > When Android combines multiple .cil files from system.img and vendor.img > it's possible to have conflicting expandattribute statements, e.g. > expandattribute hal_audio true; > expandattribute hal_audio false; Isn't this the

Re: [PATCH v2 1/1] libselinux, libsemanage: Replace PYSITEDIR with PYTHONLIBDIR

2018-03-14 Thread Petr Lautrbach
On Sun, Mar 11, 2018 at 11:15:27PM +0100, Nicolas Iooss wrote: > libselinux and libsemanage Makefiles invoke site.getsitepackages() in > order to get the path to the directory /usr/lib/pythonX.Y/site-packages > that matches the Python interpreter chosen with $(PYTHON). This method > is

Re: [PATCH 1/2] selinux: wrap selinuxfs state

2018-03-14 Thread Stephen Smalley
On Tue, Mar 13, 2018, 12:18 PM Paul Moore wrote: > On Mon, Mar 5, 2018 at 11:47 AM, Stephen Smalley > wrote: > > Move global selinuxfs state to a per-instance structure > (selinux_fs_info), > > and include a pointer to the selinux_state in this