From owner-freebsd-arch@FreeBSD.ORG Mon Jun 4 17:04:45 2007 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EE79016A468; Mon, 4 Jun 2007 17:04:44 +0000 (UTC) (envelope-from SRS0+ae66afe8e8203ad6c976+1380+infradead.org+hch@pentafluge.srs.infradead.org) Received: from pentafluge.infradead.org (pentafluge.infradead.org [213.146.154.40]) by mx1.freebsd.org (Postfix) with ESMTP id B135513C469; Mon, 4 Jun 2007 17:04:44 +0000 (UTC) (envelope-from SRS0+ae66afe8e8203ad6c976+1380+infradead.org+hch@pentafluge.srs.infradead.org) Received: from hch by pentafluge.infradead.org with local (Exim 4.63 #1 (Red Hat Linux)) id 1HvFht-000067-Pq; Mon, 04 Jun 2007 17:47:01 +0100 Date: Mon, 4 Jun 2007 17:47:01 +0100 From: Christoph Hellwig To: Roman Divacky Message-ID: <20070604164701.GA32750@infradead.org> References: <20070604162430.GA76813@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070604162430.GA76813@freebsd.org> User-Agent: Mutt/1.4.2.2i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Cc: arch@freebsd.org Subject: Re: *at family of syscalls in FreeBSD X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 17:04:45 -0000 On Mon, Jun 04, 2007 at 06:24:30PM +0200, Roman Divacky wrote: > ie. exactly the same API as Linux have with the exception of naming them sanely, ie. instead > for example fchownat() we have chownat() because it does not operate on a fd but on a path. > I am not sure about compatibility but we can always introduce a weak reference like fchownat() -> > chownat(). FYI: those names originate on Solaris, and are proposed for an addition to Posix/SuS. It's probably a better idea to keep them the same on all operating systems instead of creating articial differences.