From sacadmin Thu Jun 24 10:44:52 2010
Received: from donald2.sfbay.sun.com (donald2.SFBay.Sun.COM [10.6.180.33])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o5OHiq6r025759;
	Thu, 24 Jun 2010 10:44:52 -0700 (PDT)
Received: from donald2.sfbay.sun.com (localhost [127.0.0.1])
	by donald2.sfbay.sun.com (8.14.4+Sun/8.14.4) with ESMTP id o5OHj84e377607;
	Thu, 24 Jun 2010 10:45:08 -0700 (PDT)
Received: (from raf@localhost)
	by donald2.sfbay.sun.com (8.14.4+Sun/8.14.4/Submit) id o5OHj8em377604;
	Thu, 24 Jun 2010 10:45:08 -0700 (PDT)
Date: Thu, 24 Jun 2010 10:45:08 -0700 (PDT)
From: "Roger A. Faulkner" <raf@donald2.sfbay.sun.com>
Message-Id: <201006241745.o5OHj8em377604@donald2.sfbay.sun.com>
To: PSARC-record@sac.sfbay.sun.com
Subject: POSIX 1003.1-2008 *at(2) syscalls [PSARC/2010/235 Self Review]
Status: RO
Content-Length: 611


Template Version: @(#)sac_nextcase 1.70 03/30/10 SMI
This information is Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
1. Introduction
    1.1. Project/Component Working Name:
	 POSIX 1003.1-2008 *at(2) syscalls
    1.2. Name of Document Author/Supplier:
	 Author:  Roger Faulkner
    1.3  Date of This Document:
	24 June, 2010
4. Technical Description
    See the case directory for more detail

6. Resources and Schedule
    6.4. Steering Committee requested information
   	6.4.1. Consolidation C-team Name:
		OS-NET
    6.5. ARC review type: Automatic
    6.6. ARC Exposure: open


From roger.faulkner@oracle.com Thu Jun 24 11:14:39 2010
Received: from dm-sfbay-01.sfbay.sun.com (dm-sfbay-01.SFBay.Sun.COM [129.145.155.118])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id o5OIEdvB026437
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 24 Jun 2010 11:14:39 -0700 (PDT)
Received: from brmea-mail-4.sun.com (brmea-mail-4.Sun.COM [192.18.98.36])
	by dm-sfbay-01.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id o5OIEcw4000663
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 24 Jun 2010 11:14:38 -0700 (PDT)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id o5OIEcpe023524
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 24 Jun 2010 18:14:38 GMT
Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154])
	by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o5OG9uDs032573
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 24 Jun 2010 18:14:36 GMT
Received: from abhmt004.oracle.com by acsmt353.oracle.com
	with ESMTP id 354613871277403259; Thu, 24 Jun 2010 11:14:19 -0700
Received: from [10.7.251.247] (/10.7.251.247)
	by default (Oracle Beehive Gateway v4.0)
	with ESMTP ; Thu, 24 Jun 2010 11:14:18 -0700
Message-ID: <4C23A078.4090506@oracle.com>
Date: Thu, 24 Jun 2010 14:14:16 -0400
From: "Roger A. Faulkner" <roger.faulkner@oracle.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.9.1.9) Gecko/20100606 Lightning/1.0b1 Thunderbird/3.0.4
MIME-Version: 1.0
To: psarc-ext@sac.sfbay.sun.com
CC: Scott.Michael@oracle.com, douglas.stevenson@oracle.com,
        andy.roach@oracle.com, edward.pilatowicz@oracle.com
Subject: POSIX 1003.1-2008 *at(2) syscalls [PSARC/2010/235 Self Review]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Source-IP: acsmt354.oracle.com [141.146.40.154]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090202.4C23A08D.00BB:SCFMA4539814,ss=1,fgs=0
Status: RO
Content-Length: 2492

I am sponsoring this automatic case for myself.

1.  Introduction

     This case adds the following new functions to the C library,
     with support from the kernel, as follows:

         int fchmodat(int, const char *, mode_t, int);
         int linkat(int, const char *, int, const char *, int);
         int mkdirat(int, const char *, mode_t);
         int mkfifoat(int, const char *, mode_t);
         int mknodat(int, const char *, mode_t, dev_t);
         ssize_t readlinkat(int, const char *, char *, size_t);
         int symlinkat(const char *, int, const char *);

     The specification for these interfaces comes from the
     Open Group Technical Standard, Base Specifications, Issue 7,
     IEEE Std 1003.1(TM)-2008 (POSIX 1003.1-2008).

     Solaris already provides the other *at() interfaces,
     as specified in the same standard:

         int openat(int, const char *, int, ...);
         int fstatat(int, const char *, struct stat *, int);
         int fchownat(int, const char *, uid_t, gid_t, int);
         int unlinkat(int, const char *, int);
         int utimensat(int, const char *, const timespec_t[2], int);
         int renameat(int, const char *, int, const char *);
         int faccessat(int, const char *, int, int);

     The addition of the new functions completes the set of
     specified *at() functions.

     The commitment level of these interfaces is Committed.

     The release binding is "patch"
     (so it can be back-ported to Solaris 10 if required).

2.  Discussion

     Besides their being specified in the new standard, the new
     interfaces are already provided by the latest Linux systems,
     and possibly others.  So this is in some way a catch-up with
     the competition and a portability/compatibility effort.

     Even though Solaris does not (yet) implement the new Posix
     standard, there is nothing stopping Solaris from providing
     some of the newly-specified interfaces (provided that the
     names are appropriately hidden from view when an old
     standards-conforming application is compiled).

3.  Interface table

     All of the new functions are Committed.
     All are specified by the latest Posix specification.

4.  References

     6910251 need support for all POSIX.1-2008 *at(2) syscalls

5.  Manual pages.

     The manual pages will be drawn from the public specification:
     Open Group Technical Standard, Base Specifications, Issue 7,
     IEEE Std 1003.1(TM)-2008 (POSIX 1003.1-2008).



