From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752392AbcDZSPL (ORCPT ); Tue, 26 Apr 2016 14:15:11 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:60431 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751885AbcDZSPJ (ORCPT ); Tue, 26 Apr 2016 14:15:09 -0400 Date: Tue, 26 Apr 2016 19:15:06 +0100 From: Al Viro To: Cedric Blancher Cc: Linus Torvalds , linux-fsdevel , Linux Kernel Mailing List Subject: Re: [RFC] a corner case of open(2) Message-ID: <20160426181506.GP25498@ZenIV.linux.org.uk> References: <20160426175538.GO25498@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 26, 2016 at 08:05:50PM +0200, Cedric Blancher wrote: > Existing UNIX behaviour is better. Also, for open() a directory, > remember that int fd=open(), fchdir(fd) must work. What's to remember? That part is quite orthogonal to what I'm talking about...