tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] POSIX extended API set 2



On Nov 11, 2012, at 4:13 AM, David Laight wrote:

> On Sun, Nov 11, 2012 at 04:19:03AM -0800, Matt Thomas wrote:
>> 
>> On Nov 11, 2012, at 12:39 AM, Alan Barrett wrote:
>> 
>>> I want the names to follow a clear and easily-documented pattern.
>>> 
>>> Takes a name        Takes a fd, not a name  Takes a name and an "at" fd
>>>             (prepend "f")           (append "at")
>>> ------------        ----------------------  ---------------------------
>>> open                - (fopen is different)  openat
>>> link                -                       linkat
>>> unlink              -                       unlinkat
>>> rename              -                       renameat
>>> chdir               fchdir                  chdirat
>>> mkdir               fmkdir                  mkdirat
>>> mkfifo              fmkfifo                 mkfifoat
>>> utimens             futimens                utimensat
>>> chmod               fchmod                  chmodat (not fchmodat)
>>> chown               fchown                  chownat (not fchownat)
>>> stat                fstat                   statat (not fstatat)
>>> access              -                       accessat (not faccessat)
>>> 
>>> However, I also want the inconsistent POSIX names to be provided.
>> 
>> Don't forget
>> 
>> chroot               fchroot                 chrootat 
> 
> How do these names fit into the previously reserved namespaces?
> Or has that been completely ignored by the Posix folks again?

No idea.  But it was a path-taking syscall not in the list. But it wouldn't 
surprise me if it was overlooked.



Home | Main Index | Thread Index | Old Index