Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751442AbVIXGJP (ORCPT ); Sat, 24 Sep 2005 02:09:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751443AbVIXGJP (ORCPT ); Sat, 24 Sep 2005 02:09:15 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:50405 "EHLO ZenIV.linux.org.uk") by vger.kernel.org with ESMTP id S1751442AbVIXGJO (ORCPT ); Sat, 24 Sep 2005 02:09:14 -0400 Date: Sat, 24 Sep 2005 07:09:13 +0100 From: Al Viro To: Miklos Szeredi Cc: akpm@osdl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] open: O_DIRECTORY and O_CREAT together should fail Message-ID: <20050924060913.GK7992@ftp.linux.org.uk> References: <20050923122834.659966c4.akpm@osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 545 Lines: 11 On Sat, Sep 24, 2005 at 07:52:06AM +0200, Miklos Szeredi wrote: > Well yes. But I don't think anybody is using it, and if so they are > clearly breaking the rules in man open(2): Be liberal in what you accept and all such... Everything else aside, why bother? This check doesn't buy you anything. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/