From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755977AbcEQKXa (ORCPT ); Tue, 17 May 2016 06:23:30 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:50398 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754902AbcEQKX2 (ORCPT ); Tue, 17 May 2016 06:23:28 -0400 Message-ID: <1463480597.2509.0.camel@HansenPartnership.com> Subject: Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount From: James Bottomley To: "Serge E. Hallyn" Cc: Serge Hallyn , Djalal Harouni , Chris Mason , tytso@mit.edu, Serge Hallyn , Josh Triplett , "Eric W. Biederman" , Andy Lutomirski , Seth Forshee , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, Dongsu Park , David Herrmann , Miklos Szeredi , Alban Crequy , Al Viro Date: Tue, 17 May 2016 06:23:17 -0400 In-Reply-To: <20160517034712.GA10436@mail.hallyn.com> References: <1463080006.2380.39.camel@HansenPartnership.com> <1463080076.2380.40.camel@HansenPartnership.com> <20160516194117.GA29354@ubuntumail> <1463452112.4101.25.camel@HansenPartnership.com> <20160517034712.GA10436@mail.hallyn.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2016-05-16 at 22:47 -0500, Serge E. Hallyn wrote: > On Mon, May 16, 2016 at 10:28:32PM -0400, James Bottomley wrote: > > On Mon, 2016-05-16 at 19:41 +0000, Serge Hallyn wrote: > > > Hey James, > > > > > > I probably did something wrong - but i applied your patch onto > > > 4.6, > > > compiled in shiftfs, did > > > > > > mount -t shiftfs -o uidmap=0:100000:65536,gidmap=0:100000:65536 > > > /home/ubuntu /mnt > > > > > > and ls segfaults and gives me kernel syslog msgs like: > > > > Hm, it looks to be something IMA related, since the SUSE default is > > no > > IMA and this BUG in the filesystem is to do with the IMA version of > > i_readcount_dec. I'll recompile my kernel to see if I can > > reproduce. > > Just in case, what's the underlying filesystem on /home/ubuntu? > > It was ext4 Thanks. I've got it to reproduce with CONFIG_IMA set ... just debugging now. James