From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [RFC/PATCH] revokeat/frevoke system calls V5 Date: Mon, 26 Feb 2007 10:46:21 -0800 Message-ID: <45E32AFD.2050407@zytor.com> References: <20070226003307.6f38d2ee@lxorguk.ukuu.org.uk> <84144f020702252325j29da2819i50c99477cce89359@mail.gmail.com> <45E291F7.6060508@zytor.com> <79B7BBDC-E953-4EAE-8D32-E510DE0981FF@zabbo.net> <20070226194131.2c4e4a47@lxorguk.ukuu.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Zach Brown , Pekka Enberg , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, hch@lst.de To: Alan Return-path: Received: from terminus.zytor.com ([192.83.249.54]:45480 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030430AbXBZSqg (ORCPT ); Mon, 26 Feb 2007 13:46:36 -0500 In-Reply-To: <20070226194131.2c4e4a47@lxorguk.ukuu.org.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Alan wrote: >> I'm not sure. Turning, for example, the statat(dir_fd, name == NULL) >> error case into fstat(dir_fd) sounds like a way for apps, admittedly >> buggy ones, to be surprised. Maybe libc would be exptected to catch >> the error before performing the shared system call? > > At that point would it not be cheaper to have two system calls, the table > cost isn't very large. It's not just the table, though, you need two entry points, but even that isn't really all that big either, I guess. -hpa