From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754997AbcEQC2j (ORCPT ); Mon, 16 May 2016 22:28:39 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:48832 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754890AbcEQC2h (ORCPT ); Mon, 16 May 2016 22:28:37 -0400 Message-ID: <1463452112.4101.25.camel@HansenPartnership.com> Subject: Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount From: James Bottomley To: Serge Hallyn Cc: 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: Mon, 16 May 2016 22:28:32 -0400 In-Reply-To: <20160516194117.GA29354@ubuntumail> References: <1463080006.2380.39.camel@HansenPartnership.com> <1463080076.2380.40.camel@HansenPartnership.com> <20160516194117.GA29354@ubuntumail> 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 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? Thanks, James