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

From: Aneesh Kumar K. V
Date: Fri Aug 20 2010 - 10:43:39 EST


On Fri, 20 Aug 2010 04:32:13 -0400, Christoph Hellwig <hch@xxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/