tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [PATCH] POSIX extended API set 2
On Sun, Nov 11, 2012 at 05:55:23AM +0100, Emmanuel Dreyfus wrote:
> > + /*
> > + * openat() falls back to open() behavior if
> > + * - path is absolute XXX check this.
> > + * - fd is AT_FDCWD
> > + */
> >
> > Have you checked the XXX, and/or written automatic tests for it?
>
> In order to check for absolute path, I need to copyin the path, and it
> wil be copied in later again. I suspect that check should go at namei
> level.
I don't understand. Why do you need to copy in the path twice? Don't
do that.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index