Re: silent semantic changes with reiser4

Linus Torvalds
2004-08-29T17:59:18Z

On Sun, 29 Aug 2004, Hans Reiser wrote:
> >
> >Realize that openat() works independently of any special streams, it's
> >fundamentally a "look up name starting from this file" (rather than
> >"starting from root" or "starting from cwd").
>
> well, isn't that namespace fragmentation by definition?

No.

There's no difference between

fd = open("/usr/bin/yes", O_RDWR);

and

dirfd = open("/usr/bin", O_RDONLY | O_DIRECTORY);
fd = openat(dirfd, "yes", O_RDWR);

apart from error checking and permissions..

No new namespace.

Only O_XATTR implies a "namespace change".

Linus