Messages in this thread | | | Subject | Re: [PATCH -V19 00/15] Generic name to handle and open by handle syscalls | From | Miklos Szeredi <> | Date | Mon, 13 Sep 2010 09:59:07 +0200 |
| |
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
| |