Validate the mode argument in access, eaccess, and faccessat for optional POSIX compliance and to improve compatibility with Linux and NetBSD
The issue was identified with lib/libc/sys/t_access:access_inval from NetBSD
Phabric: D678
PR: 181155
Sponsored by: EMC / Isilon Storage Division