Re: [PATCH -V18 05/13] vfs: Support null pathname in readlink

Aneesh Kumar K. V
2010-08-20T14:43:34Z

On Fri, 20 Aug 2010 04:32:13 -0400, Christoph Hellwig <hch@infradead.org> wrote:
> Changing the interfaces of existing system calls to accept a NULL name
> which previously wasn't acceptable is not valid. Even for new system
> calls I think it's a bad idea. utimensat already has the most ugly
> code of all fs related system calls because of that.
>

But from an interface point, it seems nice to say if the relative name
from an fd is NULL, the operation should happen on fd itself.

-aneesh