From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:36078 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750741AbcHKOGu (ORCPT ); Thu, 11 Aug 2016 10:06:50 -0400 Subject: Re: [RFC PATCH 0/9][V3] Overlayfs SELinux Support To: Paul Moore , Miklos Szeredi , Vivek Goyal , Stephen Smalley References: <1468421095-22322-1-git-send-email-vgoyal@redhat.com> <0dcbfc0b-11bd-061e-f679-91346ddc5ac1@redhat.com> Cc: Paul Moore , James Morris , Casey Schaufler , linux-kernel@vger.kernel.org, "linux-unionfs@vger.kernel.org" , LSM , David Howells , Al Viro , linux-fsdevel@vger.kernel.org From: Daniel J Walsh Message-ID: <6a67eee9-9722-d12d-03a1-af1214bbd2e0@redhat.com> Date: Thu, 11 Aug 2016 10:06:46 -0400 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 08/11/2016 08:36 AM, Paul Moore wrote: > On Wed, Aug 10, 2016 at 8:52 AM, Daniel J Walsh wrote: >> On 08/10/2016 08:32 AM, Paul Moore wrote: >>> On Wed, Aug 10, 2016 at 5:11 AM, Miklos Szeredi wrote: >>>> On Tue, Aug 9, 2016 at 3:19 AM, Paul Moore wrote: >>>>> Okay, I just merged these patches into selinux#next. With the >>>>> exception of some changes to restore the mode argument to >>>>> ovl_create_or_link() and to fix some whitespace damage the patches >>>>> were merged cleanly. >>>> Don't need to add the back the mode argument, just use stat->mode. >>> Thanks for the pointer (I'm on vacation at the moment and trying to do >>> this quickly). Since it was a merge issue, and the branch hasn't been >>> pulled by Linus, I didn't bother with a new patch, I simply updated >>> the existing patch from Vivek and re-pushed to selinux#next. If you >>> see anything else, please let me know. >>> >>> For Fedora folks, I'm currently rebuilding the COPR >>> pcmoore/kernel-secnext kernel packages with this update; assuming >>> there are no problems with the COPR infrastructure the kernel should >>> be ready in a couple of hours. >>> >>> * https://copr.fedorainfracloud.org/coprs/pcmoore/kernel-secnext >>> >> Cool once there is a kernel with ovlerlay fs/selinux support I will run >> it on my laptop and attempt >> the selinux test suite, if everything goes well I will start running >> docker on overlay with selinux enforcing mode. > Okay, the build finished and passes the base SELinux/audit regressions > tests (I didn't test the SELinux/overlayfs integration yet); > kernel-4.8.0-0.rc1.git1.1.1.secnext.fc26 or greater will have the > SELinux/overlayfs patches included. The link above has instructions > on enabling the COPR repo on your system. > Looks great. Passes the test suite, and I have a patched version of docker now running with overlay backend.