[OE-core] [PATCH pseudo] ports/linux: wrap faccessat()
Max Kellermann
max+openembedded at blarg.de
Thu Aug 1 16:19:39 UTC 2019
On 2019/08/01 18:17, Seebs <seebs at seebs.net> wrote:
> > + rc = real___fxstatat64(_STAT_VER, dirfd, path, &buf, AT_SYMLINK_NOFOLLOW);
>
> We should probably be using flags here, not AT_SYMLINK_NOFOLLOW.
> Or possibly (flags & AT_SYMLINK_NOFOLLOW). Otherwise, we'll get the wrong
> results if called with flags not including AT_SYMLINK_NOFOLLOW.
Thanks, I missed that there was indeed a "flags" parameter which can
be forwarded. Will resend the patch.
More information about the Openembedded-core
mailing list