Re: [PATCH -V19 00/15] Generic name to handle and open by handlesyscalls

From: Miklos Szeredi
Date: Mon Sep 13 2010 - 03:59:39 EST


On Mon, 13 Sep 2010, Neil Brown wrote:
> > You can implement ->read() on the symlink file instead.
>
> I would suggest that is a much uglier hack than changed readlinkat to accept
> a NULL pathname.

I think read(2) is a natural interface for reading symlinks and would
have been a perfectly fine API to choose instead of a specialized
syscall.

Thanks,
Miklos
--
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/