The following reply was made to PR kern/181155; it has been noted by GNATS.

From: Garrett Cooper <[email protected]>
To: [email protected], Garrett Cooper <[email protected]>
Cc:  
Subject: Re: kern/181155: [libc] [patch] *access*(2) does not handle invalid
 amodes properly
Date: Fri, 18 Apr 2014 10:23:08 -0700

 On Fri, Apr 18, 2014 at 10:18 AM, Garrett Cooper <[email protected]> wrote:
 >     Just as a note: I need to add something to the manpage for all
 > affected system calls for this; mknodat and a few other system calls
 > will need manpage updates .. need to evaluate all of the system calls
 > to get a full list of everything affected.
 
     And one more thing: fixing this will make FreeBSD more POSIX
 compliant with this system call (
 http://pubs.opengroup.org/onlinepubs/009695299/functions/access.html
 ), will match the behavior on Linux and NetBSD at least:
 
 The access() function may fail if:
 
 [EINVAL]The value of the amode argument is invalid.
 
 Thanks!
 -Garrett
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to