Re: [LTP] [f*xattr] ab91fe640f: ltp.open13.fail

From: Cyril Hrubis
Date: Thu Dec 05 2019 - 07:36:38 EST


Hi!
> commit: ab91fe640fca6de988a888b2de89d58014d120d4 ("f*xattr: allow O_PATH descriptors")
> https://git.kernel.org/cgit/linux/kernel/git/mszeredi/vfs.git for-viro

Looks like fgetxattr() on fd that has been opened with O_PATH returns
wrong errno after this patch, which I guess is OK because that seems to
be the point of this patch.

We will fix the test if/once this patch gets upstreamed.

Also btw man 2 open needs changes in the O_PATH paragraph after this as
well.

--
Cyril Hrubis
chrubis@xxxxxxx