On Thu, Nov 7, 2013 at 6:04 PM, Glenn Fowler <[email protected]> wrote:
> thanks for the detailed report
> the ast::pathdev() function has a few compile-time code paths on
> defined(O_XATTR)
> the one with defined(O_XATTR)!=0 but fails on a particular fs is the least
> exercised
> I think this patch will resolve it but I'm not sure about consequences
> w.r.t. other callers
> unfortunately for the near-term I only have build access to my home suse
> machine with defined(O_XATTR)==0
> so we'll have to rely on the community to test

The patch does not work. I am still getting No such file or directory
instead of Invalid value and the extra openat(10,
"/dev/file/xattr@/devices//@//") call still happens:

openat(10, "/devices", O_RDONLY|O_NONBLOCK)     = 3
fstat(3, 0xFFFFFD7FFFDFE3E0)                    = 0
fcntl(3, F_SETFD, 0x00000001)                   = 0
openat(3, ".", O_RDONLY|O_NONBLOCK|O_XATTR)     Err#22 EINVAL
close(3)                                        = 0
openat(10, "/dev/file/xattr@/devices//@//", O_RDONLY|O_NONBLOCK) Err#2 ENOENT
open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSLIB.mo",
O_RDONLY) Err#2 ENOENT
./arch/sol11.i386-64/bin/ksh: cd: /dev/file/xattr@/devices//@//: [No
such file or directory]
write(2, " . / a r c h / s o l 1 1".., 93)      = 93

Josh
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to