Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp451769imm; Wed, 18 Jul 2018 05:11:46 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfSV49UjatOFR2LWrWxZ2yodmdMlPC37k17NJ3TvWX/oRExI56M8NBcnZHzBVB7hAZa7x9n X-Received: by 2002:a63:b705:: with SMTP id t5-v6mr5660488pgf.45.1531915906586; Wed, 18 Jul 2018 05:11:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531915906; cv=none; d=google.com; s=arc-20160816; b=EioQkk7GvQZ+ClBQVE5Tq64ZkFmAVKujrTbIhl+Gfbm+lSk5ugiNJgD398EYzbh4eR iqVYQbspgd+3J2k4MihycqvJn7YNGAYU+wpj2of9yvQ4gN8xDgE/OMJqdDAsfZOYQW4m tsZt++k54YuN9x/g9GrYLj/dix1TkG9cHFNv+PObw48WXxK4VhKM97s9YxTdrVo+Gy9N Z8+PFRLW0ueRNvQ4AZKYK/QdlJGYsZozOBTTJ/xWtJD44oLGHgJklddWQkSKyShCf3eq mkmIoQrl87nzDUWHcGJVpbWT3ltAvbyxDY7DGE6YHFI/nj8vdZbAsjZEUEpxoPs71Dcp QwKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:arc-authentication-results; bh=3tZjhnMQZ7o4YS1iA0vnYBK/PUaYbzbfs3W4pV/N0E4=; b=nNdWN2Rlovxa1sUXVLiyA4ElDjKHLlR1Y7PaW+vF8DSVaijD+/X+YdFnGSPtlMHvLr +weR1YPLtPxH3ZfyAqFZFjKxG56WyCQz5fQUPJTQ05wFTau6uSRMKcA8ggpb6fXOl3g5 c+1fdHNjvf8y4K+5jpRMR1n/L1/ntcCdVj3EllHL39gTd2xNYFjM7Y4rm7SZMbbTEWuM Cm2EZfBRn0TdY5dgt59c4E8bSxeoscoxolAS8QbmhDqqMxAFog5BnoNBj5LekonqjLLS ZVYCenvmHJkDlSZEQFm/+8WNzfvaq7mfJBUZmwP3MoS7TSyMLGZxraD7QAYHzO2RWIFd E2Hg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j4-v6si2971599pll.101.2018.07.18.05.11.31; Wed, 18 Jul 2018 05:11:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730687AbeGRMsL (ORCPT + 99 others); Wed, 18 Jul 2018 08:48:11 -0400 Received: from mail-oi0-f50.google.com ([209.85.218.50]:37671 "EHLO mail-oi0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726699AbeGRMsK (ORCPT ); Wed, 18 Jul 2018 08:48:10 -0400 Received: by mail-oi0-f50.google.com with SMTP id k81-v6so8302405oib.4 for ; Wed, 18 Jul 2018 05:10:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3tZjhnMQZ7o4YS1iA0vnYBK/PUaYbzbfs3W4pV/N0E4=; b=JcxEft8jzRRV19FSit0OOrc9WHaRCCybblX38oRCndIIJ4QU/LW6x1ze2AnSQ2rS73 Ws5K6hRV2lZ0wswkIPOQRKLl6ir9oohsa0Ii4mLp9N4Xqj82AQTCt2X8xLrj6BBlRwZv /lwbmjVmCFHFqUY+q/iXPSS9TkzqRINHc9tF9ZdwkATODKK2t0YPsp0M/ethCZFxk76y rQH4Af+jyUhwKVG64NgVf3IdOFkxu1wsHGUYHVOxp448C54pNX5I8wyQYWAW7C0PCWPm I9Raq3wpeK7VGyQLVsnJdKa3Kxh4YzNgcRrYY8YLKigdbH1n0jtFVCcVBkd1TKdK9etZ pVlg== X-Gm-Message-State: AOUpUlH0d5UuItcZ6M3jIL7UQhEzZdVV/QJqrClXqXyjnd67667m5SRj PxGcB+4NTr1qZfUHj/hf9ctwQfnFZOlcIXn8lp5kpw== X-Received: by 2002:aca:e8c9:: with SMTP id f192-v6mr6202075oih.87.1531915833151; Wed, 18 Jul 2018 05:10:33 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:3407:0:0:0:0:0 with HTTP; Wed, 18 Jul 2018 05:10:32 -0700 (PDT) In-Reply-To: References: <20180711021136.GN30522@ZenIV.linux.org.uk> <20180711022206.12571-1-viro@ZenIV.linux.org.uk> <20180711152555.GR30522@ZenIV.linux.org.uk> <20180711161540.GS30522@ZenIV.linux.org.uk> <20180712124326.GA19272@ZenIV.linux.org.uk> <20180712155337.GU30522@ZenIV.linux.org.uk> <20180718025636.GA26175@ZenIV.linux.org.uk> <20180718132955.2bf185b7@canb.auug.org.au> From: Miklos Szeredi Date: Wed, 18 Jul 2018 14:10:32 +0200 Message-ID: Subject: Re: vfs / overlayfs conflict resolution for linux-next To: Stephen Rothwell Cc: Al Viro , linux-fsdevel , Linux Kernel Mailing List , Linus Torvalds Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 18, 2018 at 9:25 AM, Miklos Szeredi wrote: > On Wed, Jul 18, 2018 at 5:29 AM, Stephen Rothwell wrote: >> Hi Al, >> >> On Wed, 18 Jul 2018 03:56:37 +0100 Al Viro wrote: >>> >>> ... and now it even builds. Said that, I would really like to hear something >>> from you - I can duplicate the entire overlayfs-next and merge it into >>> my #for-next and ask Steven to use that instead of your tree, but I very >>> much dislike going over your head like that. >>> >>> I realize that you'd been away for a while and probably are digging yourself >>> from under the piles of mail, but it's getting late in the cycle and I want >>> to get #for-next into reasonably sane shape. Please, look through that >>> thing and respond. In "ovl: stack file ops" this: AV: make it use open_with_fake_path(), don't mess with override_creds Maybe it's the way to go, but looks broken as is; e.g. NFS does call current_creds() from its open method to get the credentials to work with. Okay, so ->open() is a file op, and file ops should use file->f_cred, but how are we going to enforce this? Thanks, Miklos