From owner-freebsd-arch@FreeBSD.ORG Sat Jan 19 18:45:54 2013 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 06E0D42A for ; Sat, 19 Jan 2013 18:45:54 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (unknown [IPv6:2001:610:1108:5012::107]) by mx1.freebsd.org (Postfix) with ESMTP id C52EFC16 for ; Sat, 19 Jan 2013 18:45:53 +0000 (UTC) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx1.stack.nl (Postfix) with ESMTP id 75327120207; Sat, 19 Jan 2013 19:45:39 +0100 (CET) Received: by snail.stack.nl (Postfix, from userid 1677) id 575E62848C; Sat, 19 Jan 2013 19:45:39 +0100 (CET) Date: Sat, 19 Jan 2013 19:45:39 +0100 From: Jilles Tjoelker To: Chagin Dmitry Subject: Re: RFC: futimens(2) and utimensat(2) Message-ID: <20130119184539.GA78815@stack.nl> References: <4F4DC876.3010809@delphij.net> <20130119145929.GA23230@dchagin.static.corbina.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130119145929.GA23230@dchagin.static.corbina.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: pluknet@frteebsd.org, d@delphij.net, freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2013 18:45:54 -0000 On Sat, Jan 19, 2013 at 06:59:29PM +0400, Chagin Dmitry wrote: > On Tue, Feb 28, 2012 at 10:40:54PM -0800, Xin Li wrote: > > These are required by IEEE Std 1003.1-2008. Patchset at: > > http://people.freebsd.org/~delphij/for_review/utimens.diff > Hi Xin, > Do you plan to commit this? I would like to see a good implementation of futimens(2) and utimensat(2) in 10.0. From what I remember, pluknet@'s patch was closer to that than delphij@'s patch. (For example, a timespec array with both values UTIME_NOW should require the same permissions as a NULL timespec array.) I wrote a man page: http://www.stack.nl/~jilles/unix/utimensat.2 I think it is best to have a separate man page and not stuff the new calls into the utimes/lutimes/futimes/futimesat man page, which would end up rather confusing. -- Jilles Tjoelker