All of lore.kernel.org
 help / color / mirror / Atom feed
From: Seebs <seebs@seebs.net>
To: Jason Wessel <jason.wessel@windriver.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v2] pseudo: Upgrade to latest to fix openat() with a directory symlink [NAK]
Date: Fri, 2 Aug 2019 12:42:46 -0500	[thread overview]
Message-ID: <20190802124246.27d4beca@seebsdell> (raw)
In-Reply-To: <20190802120733.4a24ca3f@seebsdell>

On Fri, 2 Aug 2019 12:07:33 -0500
Seebs <seebs@seebs.net> wrote:

> Note that there's no lstat, and no AT_SYMLINK_NOFOLLOW. Which is to
> say, these stats will be following the symlink even though O_NOFOLLOW
> was set. I can probably patch this in a bit.

Followup: Patch applied to master, but also in addition to fixing the
stat calls, I had to use `flags&O_NOFOLLOW` rather than
`flags|O_NOFOLLOW`.

I am sort of amazed at how much DIDN'T break right away with that one.

-s


  reply	other threads:[~2019-08-02 17:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-01 20:03 [PATCH v2] pseudo: Upgrade to latest to fix openat() with a directory symlink Jason Wessel
2019-08-01 21:37 ` [PATCH v2] pseudo: Upgrade to latest to fix openat() with a directory symlink [NAK] Jason Wessel
2019-08-01 23:57   ` Seebs
2019-08-02 16:27     ` Jason Wessel
2019-08-02 17:07       ` Seebs
2019-08-02 17:42         ` Seebs [this message]
2019-08-03 12:33           ` Khem Raj
2019-08-03 14:23             ` Seebs
2019-08-03 14:57               ` Khem Raj
2019-08-04 16:13                 ` Mark Hatle
2019-08-05 14:23                 ` Jason Wessel
2019-08-05 22:42               ` Bystricky, Juro
2019-08-06  6:51                 ` Martin Jansa
2019-08-14 16:02                   ` Randy MacLeod
2019-08-14 17:09                     ` Martin Jansa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190802124246.27d4beca@seebsdell \
    --to=seebs@seebs.net \
    --cc=jason.wessel@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.