tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] POSIX extended API set 2



   Date: Sun, 11 Nov 2012 05:55:23 +0100
   From: manu%netbsd.org@localhost (Emmanuel Dreyfus)

   Taylor R Campbell <campbell+netbsd-tech-kern%mumble.net@localhost> 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.

Sorry, my question wasn't clear.  All I meant was `Have you confirmed
by code inspection that this is true, and/or written some atf tests to
verify it automatically?'.


Home | Main Index | Thread Index | Old Index